projects
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7df9c9a
)
local-grantpt
author
GNU Libc Maintainers
<debian-glibc@lists.debian.org>
Sat, 29 Jun 2024 10:27:34 +0000
(13:27 +0300)
committer
Adrian Bunk
<bunk@debian.org>
Sat, 29 Jun 2024 10:27:34 +0000
(13:27 +0300)
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 9d851a4e14fb6d98bde16fa7603b6affd52d297a..7ef418feaf966e509e995df7bd4b65c4ebc4cd2e 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