[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r1100 - in trunk/glibc-2.3-head: . sysdeps/kfreebsd/bits



Author: ps-guest
Date: 2006-01-23 16:18:58 +0000 (Mon, 23 Jan 2006)
New Revision: 1100

Modified:
   trunk/glibc-2.3-head/NOTES-2.4
   trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/socket.h
Log:
MSG_NOSIGNAL is available only with FreeBSD 6.0,
do not define for now



Modified: trunk/glibc-2.3-head/NOTES-2.4
===================================================================
--- trunk/glibc-2.3-head/NOTES-2.4	2006-01-23 15:40:47 UTC (rev 1099)
+++ trunk/glibc-2.3-head/NOTES-2.4	2006-01-23 16:18:58 UTC (rev 1100)
@@ -19,6 +19,9 @@
 	failures in configure/configure.in ignore
 	failure in nscd/mem.c fix manually
 
+* define MSG_NOSIGNAL
+	enable definition in kfreebsd/bits/socket.h
+
 * fix linuxthreads/sysdeps/pthread/bits/libc-tsd.h
 	 #include <bits/libc-tsd.h>  -> #include_next <bits/libc-tsd.h>
 

Modified: trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/socket.h
===================================================================
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/socket.h	2006-01-23 15:40:47 UTC (rev 1099)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/socket.h	2006-01-23 16:18:58 UTC (rev 1100)
@@ -189,10 +189,12 @@
 #define MSG_DONTWAIT MSG_DONTWAIT
     MSG_EOF		= 0x100, /* Data completes connection.  */
 #define MSG_EOF MSG_EOF
-    MSG_COMPAT		= 0x8000, /* Used in sendit().  */
+    MSG_COMPAT		= 0x8000 /* Used in sendit().  */
 #define MSG_COMPAT MSG_COMPAT
-     MSG_NOSIGNAL	= 0x20000 /* do not generate SIGPIPE on EOF */
+#if 0 /* available since FreeBSD 6.0 */
+    ,MSG_NOSIGNAL	= 0x20000 /* do not generate SIGPIPE on EOF */
 #define MSG_NOSIGNAL MSG_NOSIGNAL 
+#endif
   };
 
 



Reply to: