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/438] _POSIX2_C_VERSION got missing


https://sourceware.org/bugzilla/show_bug.cgi?id=438

--- Comment #6 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  4e5f9259f352a9547b7cc35d675eac3050ed5803 (commit)
      from  cf06a4e3579d834c3330184c4ff127c98bc00fcc (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=4e5f9259f352a9547b7cc35d675eac3050ed5803

commit 4e5f9259f352a9547b7cc35d675eac3050ed5803
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri May 22 17:14:04 2015 +0000

    Restore _POSIX2_C_VERSION definition (bug 438).

    My review of conformtest expectations for POSIX showed up that the
    _POSIX2_C_VERSION macro, required by POSIX and XPG standards before
    2001, was missing in unistd.h, having been removed on 2003-04-03
    despite those standards still being supported.  This patch adds it
    back.  As it's in the implementation namespace, there's no need for it
    to be conditional, and other such macros aren't conditional in this
    header either.

    Tested for x86_64 and x86 (testsuite).  Note that this *does* change
    the installed libraries, because it affects the sysconf support
    (present all along) for _SC_2_C_VERSION.

        [BZ #438]
        * posix/unistd.h (_POSIX2_C_VERSION): New macro.
        * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
        variable.

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

Summary of changes:
 ChangeLog        |    5 +++++
 NEWS             |   21 +++++++++++----------
 conform/Makefile |    1 -
 posix/unistd.h   |    3 +++
 4 files changed, 19 insertions(+), 11 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]