projects
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6986162
)
local-grantpt
author
GNU Libc Maintainers
<debian-glibc@lists.debian.org>
Mon, 25 Aug 2025 19:11:05 +0000
(21:11 +0200)
committer
Aurelien Jarno
<aurel32@debian.org>
Mon, 25 Aug 2025 19:11:05 +0000
(21:11 +0200)
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 1c1cc2c3c64d3ea73d736f4ae851e8ff6a5306f9..6c95d5ee486e26030ef2d0ab2dfa3150d25cb711 100644
(file)
--- a/
sysdeps/unix/grantpt.c
+++ b/
sysdeps/unix/grantpt.c
@@
-218,9
+218,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