Find file History
Joseph Myers
Joseph Myers 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.
Latest commit fb3227b Apr 9, 2016
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
aarch64 Add _STRING_INLINE_unaligned and string_private.h Feb 18, 2016
alpha Update Alpha libm-test-ulps Jan 25, 2016
arm Fix building glibc master with NDEBUG and --with-cpu. Mar 16, 2016
generic hurd: Do not hide rtld symbols which need to be preempted Mar 20, 2016
gnu Update copyright dates with scripts/update-copyrights. Jan 4, 2016
hppa hppa: fix dladdr [BZ #19415] Jan 8, 2016
i386 Improve generic strcspn performance Apr 1, 2016
ia64 Update copyright dates with scripts/update-copyrights. Jan 4, 2016
ieee754 Increase internal precision of ldbl-128ibm decimal printf [BZ #19853] Mar 31, 2016
init_array Update copyright dates with scripts/update-copyrights. Jan 4, 2016
m68k Add _STRING_INLINE_unaligned and string_private.h Feb 18, 2016
mach hurd: Add c++-types expected result Mar 20, 2016
microblaze Update copyright dates with scripts/update-copyrights. Jan 4, 2016
mips Fix MIPS64 memcpy regression. Jan 28, 2016
nacl NaCl: Fix unused variable errors in lowlevellock-futex.h macros. Jan 20, 2016
nios2 Maintainence patch for nios2: update ULPS file and localplt.data chan… Jan 22, 2016
nptl New pthread_barrier algorithm to fulfill barrier destruction requirem… Jan 15, 2016
posix Fix flag test in waitid compatibility layer Mar 13, 2016
powerpc powerpc: Add optimized P8 strspn Apr 7, 2016
pthread Update copyright dates with scripts/update-copyrights. Jan 4, 2016
s390 S390: Use ahi instead of aghi in 32bit _dl_runtime_resolve. Apr 1, 2016
sh Update copyright dates with scripts/update-copyrights. Jan 4, 2016
sparc Add _STRING_INLINE_unaligned and string_private.h Feb 18, 2016
tile Update copyright dates with scripts/update-copyrights. Jan 4, 2016
unix Fix termios.h XCASE namespace (bug 19925). Apr 8, 2016
wordsize-32 Update copyright dates with scripts/update-copyrights. Jan 4, 2016
wordsize-64 Update copyright dates with scripts/update-copyrights. Jan 4, 2016
x86 Remove Fast_Copy_Backward from Intel Core processors Apr 1, 2016
x86_64 X86-64: Prepare memmove-vec-unaligned-erms.S Apr 6, 2016