Author: Richard Plangger <planri...@gmail.com> Branch: Changeset: r91530:beebaffe3671 Date: 2017-06-05 14:18 -0400 http://bitbucket.org/pypy/pypy/changeset/beebaffe3671/
Log: fix for translation, I should have included errno.h. translation started annotation diff --git a/rpython/rlib/rvmprof/src/shared/symboltable.c b/rpython/rlib/rvmprof/src/shared/symboltable.c --- a/rpython/rlib/rvmprof/src/shared/symboltable.c +++ b/rpython/rlib/rvmprof/src/shared/symboltable.c @@ -11,6 +11,7 @@ #include <assert.h> #include <dlfcn.h> +#include <errno.h> #if defined(VMPROF_LINUX) #include <link.h> @@ -317,7 +318,7 @@ } if (r == -1) { - if (errno == EINTR) { + while (errno == EINTR) { if ((r = read(fileno, buf, (size_t)size)) == size) { return r; } _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit