r4194 - in glibc-package/trunk/debian: . patches/alpha
Author: aurel32
Date: 2010-02-13 10:11:26 +0000 (Sat, 13 Feb 2010)
New Revision: 4194
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/alpha/submitted-sock_nonblock.diff
Log:
* Update patches/alpha/submitted-sock_nonblock.diff to also fix
SOCK_CLOEXEC. Closes: #569646.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2010-02-13 09:44:01 UTC (rev 4193)
+++ glibc-package/trunk/debian/changelog 2010-02-13 10:11:26 UTC (rev 4194)
@@ -10,8 +10,10 @@
feature.
* Bump to Standards-Version 3.8.4.
* kfreebsd/local-sysdeps.diff: update to revision 2975 (from glibc-bsd).
+ * Update patches/alpha/submitted-sock_nonblock.diff to also fix
+ SOCK_CLOEXEC. Closes: #569646.
- -- Aurelien Jarno <aurel32@debian.org> Mon, 08 Feb 2010 19:20:38 +0100
+ -- Aurelien Jarno <aurel32@debian.org> Sat, 13 Feb 2010 11:09:45 +0100
eglibc (2.10.2-6) unstable; urgency=low
Modified: glibc-package/trunk/debian/patches/alpha/submitted-sock_nonblock.diff
===================================================================
--- glibc-package/trunk/debian/patches/alpha/submitted-sock_nonblock.diff 2010-02-13 09:44:01 UTC (rev 4193)
+++ glibc-package/trunk/debian/patches/alpha/submitted-sock_nonblock.diff 2010-02-13 10:11:26 UTC (rev 4194)
@@ -1,7 +1,8 @@
-2009-08-16 Aurelien Jarno <aurelien@aurel32.net>
+2010-02-13 Aurelien Jarno <aurelien@aurel32.net>
* sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file based on
- the generic version, with SOCK_NONBLOCK matching the kernel value.
+ the generic version, with SOCK_CLOEXEC and SOCK_NONBLOCK
+ matching the kernel value.
--- /dev/null
+++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/socket.h
@@ -70,7 +71,7 @@
+ /* Flags to be ORed into the type parameter of socket and socketpair and
+ used for the flags parameter of paccept. */
+
-+ SOCK_CLOEXEC = 02000000, /* Atomically set close-on-exec flag for the
++ SOCK_CLOEXEC = 010000000, /* Atomically set close-on-exec flag for the
+ new descriptor(s). */
+#define SOCK_CLOEXEC SOCK_CLOEXEC
+#undef SOCK_NONBLOCK
Reply to: