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/19925] termios.h XCASE namespace


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

--- 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  fb3227b95caae0d99d0c185099486240a75e2076 (commit)
      from  25dba0ad054723196fb633ba5d8a463ef5cb775c (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=fb3227b95caae0d99d0c185099486240a75e2076

commit fb3227b95caae0d99d0c185099486240a75e2076
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Apr 8 18:16:09 2016 +0000

    Fix termios.h XCASE namespace (bug 19925).

    bits/termios.h (various versions under sysdeps/unix/sysv/linux)
    defines XCASE if defined __USE_MISC || defined __USE_XOPEN.  This
    macro was removed in the 2001 edition of POSIX, and is not otherwise
    reserved, so should not be defined for 2001 and later versions of
    POSIX.  This patch fixes the conditions accordingly (leaving the macro
    defined for __USE_MISC, so still in the default namespace).

    Tested for x86_64 and x86 (testsuite, and that installed shared
    libraries are unchanged by the patch).

        [BZ #19925]
        * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
        define if [!__USE_MISC && __USE_XOPEN2K].
        * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
        * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
        * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
        Likewise.
        * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
        * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
        variable.
        (test-xfail-XOPEN2K8/termios.h/conform): Likewise.

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

Summary of changes:
 ChangeLog                                      |   14 ++++++++++++++
 conform/Makefile                               |    2 --
 sysdeps/unix/sysv/linux/alpha/bits/termios.h   |    2 +-
 sysdeps/unix/sysv/linux/bits/termios.h         |    2 +-
 sysdeps/unix/sysv/linux/mips/bits/termios.h    |    2 +-
 sysdeps/unix/sysv/linux/powerpc/bits/termios.h |    2 +-
 sysdeps/unix/sysv/linux/sparc/bits/termios.h   |    2 +-
 7 files changed, 19 insertions(+), 7 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]