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.23-330-g0014680


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  0014680d6a5bdeb4fe17682450105ebed19f35da (commit)
      from  9ff81856dbbbcedb63de546d10dc1cdaeb982a6b (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=0014680d6a5bdeb4fe17682450105ebed19f35da

commit 0014680d6a5bdeb4fe17682450105ebed19f35da
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue May 17 15:51:55 2016 +0000

    Do not declare grantpt, ptsname, unlockpt in stdlib.h for XPG3 (bug 20094).
    
    stdlib.h declares grantpt, ptsname, unlockpt for __USE_XOPEN.  This
    patch corrects the condition to __USE_XOPEN_EXTENDED (these functions
    are new in XPG4).
    
    Tested for x86_64 and x86 (testsuite, and that installed shared
    libraries are unchanged by the patch).
    
    	[BZ #20094]
    	* stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
    	not [__USE_XOPEN].
    	(unlockpt): Likewise.
    	(ptsname): Likewise.
    	* conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
    	variable.

diff --git a/ChangeLog b/ChangeLog
index 2be1e21..ce605c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
 
+	[BZ #20094]
+	* stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
+	not [__USE_XOPEN].
+	(unlockpt): Likewise.
+	(ptsname): Likewise.
+	* conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
+	variable.
+
 	[BZ #20076]
 	* io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
 	instead of [__USE_UNIX98].
diff --git a/conform/Makefile b/conform/Makefile
index f668b2e..6c7b683 100644
--- a/conform/Makefile
+++ b/conform/Makefile
@@ -168,7 +168,6 @@ test-xfail-XPG3/limits.h/conform = yes
 test-xfail-XPG3/pwd.h/conform = yes
 test-xfail-XPG3/search.h/conform = yes
 test-xfail-XPG3/signal.h/conform = yes
-test-xfail-XPG3/stdlib.h/conform = yes
 test-xfail-XPG3/sys/wait.h/conform = yes
 test-xfail-XPG4/arpa/inet.h/conform = yes
 test-xfail-XPG4/netdb.h/conform = yes
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index ad9c6c8..f0dc951 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -876,7 +876,7 @@ extern void setkey (const char *__key) __THROW __nonnull ((1));
 extern int posix_openpt (int __oflag) __wur;
 #endif
 
-#ifdef __USE_XOPEN
+#ifdef __USE_XOPEN_EXTENDED
 /* The next four functions all take a master pseudo-tty fd and
    perform an operation on the associated slave:  */
 

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

Summary of changes:
 ChangeLog        |    8 ++++++++
 conform/Makefile |    1 -
 stdlib/stdlib.h  |    2 +-
 3 files changed, 9 insertions(+), 2 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]