glibc/sysdeps/unix/sysv/linux/bits
Joseph Myers fb3227b95c 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.
2016-04-08 18:16:09 +00:00
..
a.out.h
dirent.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
epoll.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
errno.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
eventfd.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
fcntl-linux.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
fcntl.h
in.h Update glibc headers for Linux 4.5. 2016-03-14 19:04:53 +00:00
initspin.h
inotify.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
ioctl-types.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
ioctls.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
ipc.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
local_lim.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
mqueue.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
msq.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
param.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
poll.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
posix_opt.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
resource.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sched.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sem.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
shm.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sigaction.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sigcontext.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
siginfo.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
signalfd.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
signum.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sigset.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sigstack.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
socket.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
socket_type.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
stat.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
statfs.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
statvfs.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sys_errlist.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sysctl.h Add sysctl.mk and bits/sysctl.h 2012-05-22 13:46:29 -07:00
termios.h Fix termios.h XCASE namespace (bug 19925). 2016-04-08 18:16:09 +00:00
time.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
timerfd.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
timex.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
uio.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
utsname.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
waitflags.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00