This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Community source repository for glibc add-on ports branch, master, updated. glibc-2.11-51-gf3ed033


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Community source repository for glibc add-on ports".

The branch, master has been updated
       via  f3ed03373affbd13ee8dbbeb933959381ae492bb (commit)
      from  317d0e66a01302c98367b8776d5e7936a80f8ffb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc-ports.git;a=commitdiff;h=f3ed03373affbd13ee8dbbeb933959381ae492bb

commit f3ed03373affbd13ee8dbbeb933959381ae492bb
Author: Matt Turner <mattst88@gmail.com>
Date:   Wed Feb 17 09:52:26 2010 -0500

    Fix SOCK_CLOEXEC on HPPA to match O_CLOEXEC.
    
    The kernel defines SOCK_CLOEXEC as
    include/linux/net.h:#define SOCK_CLOEXEC        O_CLOEXEC
    arch/parisc/include/asm/fcntl.h:#define O_CLOEXEC   010000000
    
    But glibc was defining
    sysdeps/unix/sysv/linux/hppa/bits/socket.h:  SOCK_CLOEXEC = 01000000,
    
    Signed-off-by: Matt Turner <mattst88@gmail.com>
    Signed-off-by: Kyle McMartin <kyle@redhat.com>
    Signed-off-by: Carlos O'Donell <carlos@codesourcery.com>

diff --git a/ChangeLog.hppa b/ChangeLog.hppa
index a74131e..9fd9f89 100644
--- a/ChangeLog.hppa
+++ b/ChangeLog.hppa
@@ -1,3 +1,8 @@
+2010-02-17  Matt Turner  <mattst88@gmail.com>
+
+	* sysdeps/unix/sysv/linux/hppa/bits/socket.h: Actually fix
+	SOCK_CLOEXEC to match O_CLOEXEC.
+
 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
 
 	* sysdeps/unix/sysv/linux/hppa/bits/mman.h: Define
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/socket.h b/sysdeps/unix/sysv/linux/hppa/bits/socket.h
index bcc27cc..819b398 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/socket.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/socket.h
@@ -62,7 +62,7 @@ enum __socket_type
   /* Flags to be ORed into the type parameter of socket and socketpair and
      used for the flags parameter of paccept.  */
 
-  SOCK_CLOEXEC = 01000000,	/* 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

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog.hppa                             |    5 +++++
 sysdeps/unix/sysv/linux/hppa/bits/socket.h |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Community source repository for glibc add-on ports


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]