projects
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c6e9a1
)
local-grantpt
author
GNU Libc Maintainers
<debian-glibc@lists.debian.org>
Sat, 27 Aug 2022 11:38:11 +0000
(12:38 +0100)
committer
Aurelien Jarno
<aurel32@debian.org>
Sat, 27 Aug 2022 11:38:11 +0000
(12:38 +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 6269ee2bd6db9125da29588bd6d6e9f92d42e501..cb049657e67fc55aec9a5b3f479cb1427f038271 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