r1097 - in trunk/glibc-2.3-head/sysdeps/kfreebsd: . bits
Author: ps-guest
Date: 2006-01-23 13:35:42 +0000 (Mon, 23 Jan 2006)
New Revision: 1097
Modified:
trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/socket.h
trunk/glibc-2.3-head/sysdeps/kfreebsd/recv.c
Log:
forward fixes for glibc 2.4
Modified: trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/socket.h
===================================================================
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/socket.h 2006-01-23 11:19:28 UTC (rev 1096)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/bits/socket.h 2006-01-23 13:35:42 UTC (rev 1097)
@@ -189,8 +189,10 @@
#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 */
+#define MSG_NOSIGNAL MSG_NOSIGNAL
};
Modified: trunk/glibc-2.3-head/sysdeps/kfreebsd/recv.c
===================================================================
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/recv.c 2006-01-23 11:19:28 UTC (rev 1096)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/recv.c 2006-01-23 13:35:42 UTC (rev 1097)
@@ -32,6 +32,7 @@
return INLINE_SYSCALL (recvfrom, 6, fd, buf, n, flags, NULL, NULL);
}
+weak_alias (__libc_recv, __recv)
weak_alias (__libc_recv, recv)
LIBC_CANCEL_HANDLED (); /* in __libc_recvfrom */
Reply to: