This is the mail archive of the glibc-bugs@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]

[Bug libc/20094] stdlib.h should not declare grantpt, ptsname, unlockpt for XPG3


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.

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