projects
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2668fed
)
local-grantpt
author
GNU Libc Maintainers
<debian-glibc@lists.debian.org>
Fri, 20 Sep 2019 19:39:03 +0000
(20:39 +0100)
committer
Aurelien Jarno
<aurel32@debian.org>
Fri, 20 Sep 2019 19:39:03 +0000
(20:39 +0100)
Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name local-grantpt.diff
sysdeps/unix/grantpt.c
patch
|
blob
|
history
diff --git
a/sysdeps/unix/grantpt.c
b/sysdeps/unix/grantpt.c
index e2e6df14c93916df021a66d04c32660cefde328c..ed928d63d37f15cc4f4cba500fa5d700418f2661 100644
(file)
--- a/
sysdeps/unix/grantpt.c
+++ b/
sysdeps/unix/grantpt.c
@@
-219,9
+219,13
@@
grantpt (int fd)
else
{
int w;
-
+retry:
if (__waitpid (pid, &w, 0) == -1)
+ {
+ if (errno == EINTR)
+ goto retry;
goto cleanup;
+ };
if (!WIFEXITED (w))
__set_errno (ENOEXEC);
else