r4195 - in glibc-package/trunk/debian: . patches/hppa
Author: aurel32
Date: 2010-02-13 10:13:55 +0000 (Sat, 13 Feb 2010)
New Revision: 4195
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/hppa/submitted-sock_nonblock.diff
Log:
* Update patches/hppa/submitted-sock_nonblock.diff to also fix
SOCK_CLOEXEC.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2010-02-13 10:11:26 UTC (rev 4194)
+++ glibc-package/trunk/debian/changelog 2010-02-13 10:13:55 UTC (rev 4195)
@@ -12,6 +12,8 @@
* 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.
+ * Update patches/hppa/submitted-sock_nonblock.diff to also fix
+ SOCK_CLOEXEC.
-- Aurelien Jarno <aurel32@debian.org> Sat, 13 Feb 2010 11:09:45 +0100
Modified: glibc-package/trunk/debian/patches/hppa/submitted-sock_nonblock.diff
===================================================================
--- glibc-package/trunk/debian/patches/hppa/submitted-sock_nonblock.diff 2010-02-13 10:11:26 UTC (rev 4194)
+++ glibc-package/trunk/debian/patches/hppa/submitted-sock_nonblock.diff 2010-02-13 10:13:55 UTC (rev 4195)
@@ -1,7 +1,8 @@
-2009-08-16 Aurelien Jarno <aurelien@aurel32.net>
+2010-02-13 Aurelien Jarno <aurelien@aurel32.net>
* sysdeps/unix/sysv/linux/hppa/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/hppa/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: