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]

GNU C Library master sources branch master updated. glibc-2.20-26-g3f41521


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 "GNU C Library master sources".

The branch, master has been updated
       via  3f41521d4b9697634d3f574ee5fd3a22f217b25d (commit)
      from  d8f879ee3e4131542c2ac3d1d9db4cf12cb86729 (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=3f41521d4b9697634d3f574ee5fd3a22f217b25d

commit 3f41521d4b9697634d3f574ee5fd3a22f217b25d
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Mon Sep 15 10:08:38 2014 +0530

    Add correct variable names for _POSIX_IPV6 and _POSIX_RAW_SOCKETS
    
    getconf only recognizes IPV6 and RAW_SOCKETS, when the standard
    requires it to recognize the actual configuration variable name[1].  I
    have not removed the earlier names for compatibility.
    
    	* posix/getconf.c (vars): Add _POSIX_IPV6 and
    	_POSIX_RAW_SOCKETS.
    
    [1] http://pubs.opengroup.org/onlinepubs/007904875/functions/sysconf.html

diff --git a/ChangeLog b/ChangeLog
index 9f5d84e..d010cc9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+	* posix/getconf.c (vars): Add _POSIX_IPV6 and
+	_POSIX_RAW_SOCKETS.
+
 2014-09-13  Allan McRae  <allan@archlinux.org>
 
 	* po/ru.po: Update Russian translation from translation project.
diff --git a/posix/getconf.c b/posix/getconf.c
index db6acc4..c2c0d3f 100644
--- a/posix/getconf.c
+++ b/posix/getconf.c
@@ -1004,6 +1004,13 @@ static const struct conf vars[] =
     { "RAW_SOCKETS", _SC_RAW_SOCKETS, SYSCONF },
 #endif
 
+#ifdef _SC_IPV6
+    { "_POSIX_IPV6", _SC_IPV6, SYSCONF },
+#endif
+#ifdef _SC_RAW_SOCKETS
+    { "_POSIX_RAW_SOCKETS", _SC_RAW_SOCKETS, SYSCONF },
+#endif
+
     { NULL, 0, SYSCONF }
   };
 

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

Summary of changes:
 ChangeLog       |    5 +++++
 posix/getconf.c |    7 +++++++
 2 files changed, 12 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


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