[Glibc-bsd-commits] r3185 - trunk/glibc-ports/patches

Aurelien Jarno aurel32 at alioth.debian.org
Tue Sep 14 12:51:16 UTC 2010


Author: aurel32
Date: 2010-09-14 12:51:16 +0000 (Tue, 14 Sep 2010)
New Revision: 3185

Modified:
   trunk/glibc-ports/patches/linuxthreads29.patch
Log:
Correctly workaround SO_CLOEXEC and SO_NONBLOCK on kfreebsd (bug#596367)


Modified: trunk/glibc-ports/patches/linuxthreads29.patch
===================================================================
--- trunk/glibc-ports/patches/linuxthreads29.patch	2010-09-13 20:53:14 UTC (rev 3184)
+++ trunk/glibc-ports/patches/linuxthreads29.patch	2010-09-14 12:51:16 UTC (rev 3185)
@@ -11,10 +11,12 @@
    /* Create the socket.  */
  #ifndef __ASSUME_SOCK_CLOEXEC
    sock = -1;
-@@ -885,6 +886,7 @@
+@@ -885,6 +886,9 @@
  	have_sock_cloexec = sock != -1 || errno != EINVAL ? 1 : -1;
  #endif
      }
++#else
++have_sock_cloexec = -1;
 +#endif    
  #ifndef __ASSUME_SOCK_CLOEXEC
    if (have_sock_cloexec < 0)




More information about the Glibc-bsd-commits mailing list