Kerala Cyber Warriors
KCW Uploader V1.1

Path : /usr/src/glibc/debian/patches/kfreebsd/
File Upload :
Current File : //usr/src/glibc/debian/patches/kfreebsd/local-grantpt.diff

---
 sysdeps/unix/grantpt.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

--- a/sysdeps/unix/grantpt.c
+++ b/sysdeps/unix/grantpt.c
@@ -201,9 +201,13 @@
   else
     {
       int w;
-
+retry:
       if (__waitpid (pid, &w, 0) == -1)
+	{
+	if (errno == EINTR)
+	    goto retry;	
 	goto cleanup;
+	}; 
       if (!WIFEXITED (w))
 	__set_errno (ENOEXEC);
       else

-=[ KCW uplo4d3r c0ded by cJ_n4p573r ]=-
Ⓒ2017 ҠЄГѦLѦ СүѣЄГ ЩѦГГіѺГՏ