projects
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1432e0c
)
local-grantpt
author
GNU Libc Maintainers
<debian-glibc@lists.debian.org>
Sun, 10 Jul 2022 20:29:34 +0000
(21:29 +0100)
committer
Aurelien Jarno
<aurel32@debian.org>
Sun, 10 Jul 2022 20:29:34 +0000
(21:29 +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 46b6f5662950bbfe28a73d5d683fa4e838d87307..7ca8e494d61b7d1af9f72284b0aa73e6e4c3aac5 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