projects
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf314bf
)
local-grantpt
author
GNU Libc Maintainers
<debian-glibc@lists.debian.org>
Wed, 19 Apr 2023 21:17:51 +0000
(22:17 +0100)
committer
Aurelien Jarno
<aurel32@debian.org>
Wed, 19 Apr 2023 21:17:51 +0000
(22:17 +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 aa741eebd638522236a14d6dba45b3267e572244..446048373ca8d4b7b675d7c8d6de1c3894667af6 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