This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/20094] stdlib.h should not declare grantpt, ptsname, unlockpt for XPG3
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 17 May 2016 15:52:46 +0000
- Subject: [Bug libc/20094] stdlib.h should not declare grantpt, ptsname, unlockpt for XPG3
- Auto-submitted: auto-generated
- References: <bug-20094-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20094
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
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 -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;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.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 8 ++++++++
conform/Makefile | 1 -
stdlib/stdlib.h | 2 +-
3 files changed, 9 insertions(+), 2 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.