Switch branches/tags
aj/revert-sunrpc aj/shared-linux-fcntl allan/config-files andros/avx512f-mem andros/libmvec andros/pr19654 archlinux/2.18/master azanella/bz12683 carlos/dlmopen carlos/master cmetcalf/tile-2.15 cvs/fedora-2_3-branch cvs/fedora-2_5-branch cvs/fedora-branch cvs/glibc-2-1-branch cvs/glibc-2-2-branch cvs/glibc-2_0_x cvs/glibc-2_3-branch cvs/glibc-2_5-branch cvs/glibc-2_6-branch cvs/glibc-2_7-branch cvs/glibc-2_8-branch cvs/glibc-2_9-branch cvs/glibc-2_10-branch cvs/master cvs/sparc-2_0_x-branch cvs/thomas-posix1996 davem/sparc dj/malloc fedora/master fedora/2.10/master fedora/2.11/master fedora/2.12/master fedora/2.13/master fedora/2.14/master fedora/2.22/master fw/extend_alloca gentoo/2.18 gentoo/2.19 gentoo/2.20 gentoo/2.21 gentoo/2.22 gentoo/2.23 hjl/avx128 hjl/avx512f-mem/master hjl/avx512f-mem/old hjl/avx512f-mem/prefetcht1 hjl/cpuid/master hjl/cpuid/2.21 hjl/cpuid/2.22 hjl/ctor/release/2.11 hjl/ctor/release/2.12 hjl/erms/i386 hjl/erms/ifunc hjl/erms/master hjl/erms/nt hjl/erms/2.22 hjl/erms/2.23 hjl/fma/master hjl/global hjl/gold hjl/i386/master hjl/i486/multiarch-old hjl/i486/multiarch hjl/implies hjl/init hjl/ld.so/master hjl/memcpy/dpdk/master hjl/mempcpy hjl/plt/master hjl/plt/2.21 hjl/plt/2.22 hjl/pr13862 hjl/pr14370 hjl/pr14562/master hjl/pr14562/2.16 hjl/pr14654 hjl/pr14716 hjl/pr14831 hjl/pr14937 hjl/pr14941 hjl/pr14955 hjl/pr14995 hjl/pr17711/2.18 hjl/pr17711/2.19 hjl/pr17711/2.20 hjl/pr17711/2.21 hjl/pr17841/master hjl/pr17841/2.21 hjl/pr18078 hjl/pr18422 hjl/pr18661 hjl/pr18696 hjl/pr18858/master hjl/pr19122 hjl/pr19178/master hjl/pr19363/clobber hjl/pr19363/master hjl/pr19363/2.22 hjl/pr19371/master hjl/pr19463 hjl/pr19583 hjl/pr19590 hjl/pr19679/2.23 hjl/pr19776/master hjl/pthread/2.21 hjl/pthread/2.22 hjl/release/2.20/master hjl/secondary/master hjl/secondary/2.21 hjl/size/master hjl/tst-plt hjl/unaligned hjl/x32/master hjl/x32/release/2.12 hjl/x32/release/2.15 hjl/x86 hjl/32bit/master hjl/32bit/2.22 ibm/master ibm/2.8/master ibm/2.10/master ibm/2.11/master ibm/2.12/master ibm/2.13/master ibm/2.16/master ibm/2.18/master ibm/2.19/master ibm/2.20/master ibm/2.22/master ldmitrie/intel_mpx linaro/master lxoliva/getaddrinfo master neleai/string-x64 neleai/strlen origin/ibm/2.8/master pasky/fixes-overdue pasky/fixes release/2.10/master release/2.11/master release/2.12/master release/2.13/master release/2.14/master release/2.15/master release/2.16/master release/2.17/master release/2.18/master release/2.19/master release/2.20/master release/2.21/master release/2.22/master release/2.23/master roland/Wshadow roland/add-on-abi-tags roland/backtrace-syms roland/cancelhandling roland/disable-nis roland/getpid roland/gold-vs-libc roland/hwcap_mask roland/manual-check roland/nacl-debug-hack roland/nacl-exit-stacks roland/nacl-port/master roland/nptl_db roland/pthread_attr_getstack roland/stat64 roland/sysconf-clocks roland/tempname roland/x86_64-crt1-cfi rsa/hwcap2_v3 rsa/hwcap2_v4 rsa/hwcap2_v5 rsa/hwcap2_v6 rsa/power8_partial rsa/power8 rsa/stdint_headers rsa/stdint_noheaders rsa/stdint rsa/2.17_backports_v2 rsa/2.17_backports_v3 rsa/2.17_backports rth/aa-memset rth/aa-opt rth/execl rth/tramp siddhesh/is_in_module siddhesh/mmap-fallback siddhesh/posix-wundef siddhesh/sem_timedwait siddhesh/tunables tuliom/multilib
Nothing to show
Find file History
Joseph Myers
Joseph Myers Fix limits.h NL_NMAX namespace (bug 19929).
bits/xopen_lim.h (included by limits.h if __USE_XOPEN) defines
NL_NMAX, but this constant was removed in the 2008 edition of POSIX so
should not be defined in that case.  This patch duly disables that
define for __USE_XOPEN2K8.  It remains enabled for __USE_GNU to avoid
affecting sysconf (_SC_NL_NMAX), the implementation of which uses
"#ifdef NL_NMAX".

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

	[BZ #19929]
	* include/bits/xopen_lim.h (NL_NMAX): Do not define if
	[__USE_XOPEN2K8 && !__USE_GNU].
	* conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
	variable.
Latest commit eb64b6d Apr 9, 2016
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
arpa Fix resolver inet_* namespace (bug 17722). Dec 17, 2014
bits Fix limits.h NL_NMAX namespace (bug 19929). Apr 8, 2016
gnu Update copyright dates with scripts/update-copyrights. Jan 4, 2016
net Fix resolver if_* namespace (bug 17717). Dec 16, 2014
netinet Fix gethostbyaddr in6addr_any, in6addr_loopback namespace (bug 18532). Jun 17, 2015
programs Update copyright dates with scripts/update-copyrights. Jan 4, 2016
protocols (abmon): Remove spaces. Nov 12, 1998
rpc Rename bits/libc-tsd.h to libc-tsd.h (bug 14912). Sep 3, 2015
rpcsvc * nis/nis_domain_of.c (__nis_domain_of): New function. Apr 19, 2007
sys Add sys/auxv.h wrapper to include/sys/ Mar 8, 2016
aio.h First steps to get conformtest fully working Feb 26, 2012
aliases.h Remove pre-ISO C support Jan 8, 2012
alloca.h alloca: fix buf interaction Feb 24, 2015
argp.h Update. Dec 28, 2000
argz.h Remove use of INTDEF/INTUSE in intl May 24, 2012
assert.h Remove NOT_IN_libc Nov 24, 2014
atomic.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
byteswap.h Update. Apr 10, 1998
caller.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
complex.h conformtest: Fix namespace testing. Sep 4, 2013
cpio.h Add more headers to include/ for conform tests. Dec 11, 2014
ctype.h Rename bits/libc-tsd.h to libc-tsd.h (bug 14912). Sep 3, 2015
des.h Update. Mar 24, 1998
dirent.h Mark internal dirent functions hidden Oct 15, 2015
dlfcn.h Mark _dl_catch_error hidden Oct 15, 2015
elf.h Check supported DF_1_XXX bits Nov 21, 2012
endian.h Update. Mar 30, 2001
envz.h 2002-08-03 Roland McGrath <roland@redhat.com> Aug 4, 2002
err.h * include/sys/syslog.h: Use libc_hidden_proto for syslog, vsyslog. Aug 3, 2002
errno.h Remove NOT_IN_libc Nov 24, 2014
error.h Update. Jun 21, 1997
execinfo.h Remove pre-ISO C support Jan 8, 2012
fcntl.h hurd: Do not hide rtld symbols which need to be preempted Mar 20, 2016
features.h Update version.h and include/features.h for 2.23 release Feb 18, 2016
fenv.h Mark fegetround pure (bug 16296). Sep 15, 2015
fmtmsg.h Add more headers to include/ for conform tests. Dec 11, 2014
fnmatch.h First steps to get conformtest fully working Feb 26, 2012
fpu_control.h Update. Nov 23, 1999
ftw.h Update. Jun 21, 1997
gconv.h Update. Nov 18, 1997
getopt.h Update. Mar 9, 2004
getopt_int.h Update. Mar 9, 2004
glob.h First steps to get conformtest fully working Feb 26, 2012
gmp.h * include/gmp.h: Include/gmp-mparam.h. * stdlib/strtod.c: Include gmp… Mar 14, 2003
gnu-versions.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
grp.h First steps to get conformtest fully working Feb 26, 2012
gshadow.h [BZ #9955] Apr 23, 2009
iconv.h Update. Aug 21, 1999
ifaddrs.h Remove IS_IN_nscd Nov 24, 2014
ifunc-impl-list.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
inline-hashtab.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
langinfo.h Add first fixes for conformtest for POSIX2008 Feb 27, 2012
libc-internal.h Use max_align_t from <stddef.h>. Oct 29, 2015
libc-symbols.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
libgen.h Update. Jun 21, 1997
libintl.h Remove use of INTDEF/INTUSE in intl May 24, 2012
libio.h Rename bits/stdio-lock.h to stdio-lock.h (bug 14912). Sep 4, 2015
limits.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
link.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
list.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
locale.h First steps to get conformtest fully working Feb 26, 2012
malloc.h * malloc/malloc.c (_int_free): Second argument is now mchunkptr. Feb 7, 2009
math.h Fix lgamma setting signgam for ISO C (bug 15421). Nov 20, 2015
mcheck.h * include/sys/resource.h: Use libc_hidden_proto for getpriority, Aug 4, 2002
memory.h Update. Jun 21, 1997
mntent.h Remove use of INTUSE/INTDEF in misc. May 31, 2012
monetary.h Add first fixes for conformtest for POSIX2008 Feb 27, 2012
mqueue.h Fix mq_receive, mq_send mq_timed* namespace (bug 18545). Jun 17, 2015
netdb.h Fix h_errno namespace (bug 18520). Jun 12, 2015
netgroup.h Update. Jun 21, 1997
nl_types.h Update. Dec 22, 1997
nss.h Harden putpwent, putgrent, putspent, putspent against injection [BZ #… Oct 2, 2015
nsswitch.h Update. Jun 21, 1997
obstack.h Update. Aug 4, 2002
poll.h Update. Aug 21, 2000
printf.h strfmon_l: Use specified locale for number formatting [BZ #19633] Apr 4, 2016
pthread.h Fix mq_notify pthread_barrier_* namespace (bug 18544). Jun 17, 2015
pty.h Update. Oct 24, 2004
pwd.h Harden putpwent, putgrent, putspent, putspent against injection [BZ #… Oct 2, 2015
regex.h First steps to get conformtest fully working Feb 26, 2012
resolv.h Remove NOT_IN_libc Nov 24, 2014
rounding-mode.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
sched.h posix: New Linux posix_spawn{p} implementation Mar 7, 2016
scratch_buffer.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
search.h Fix sem_* tdelete, tfind, tsearch, twalk namespace (bug 18536). Jun 17, 2015
set-hooks.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
setjmp.h Mark internal setjmp functions hidden Oct 15, 2015
sgtty.h Update. Jun 21, 1997
shadow.h Remove pre-ISO C support Jan 8, 2012
shlib-compat.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
signal.h Mark ld.so internel sigaction functions hidden Oct 15, 2015
spawn.h Update. Oct 1, 2000
stab.h Update. Jun 21, 1997
stackinfo.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
stap-probe.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
stdc-predef.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
stdio.h Provide __libc_fatal for rtld. Jul 9, 2015
stdio_ext.h Remove use of INTDEF/INTUSE in libio May 24, 2012
stdlib.h Refactor strtod parsing of NaN payloads. Nov 24, 2015
string.h Add _STRING_INLINE_unaligned and string_private.h Feb 18, 2016
strings.h Update. Jun 21, 1997
stropts.h First steps to get conformtest fully working Feb 26, 2012
stubs-prologue.h * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional Oct 11, 2002
syscall.h Update. Jun 21, 1997
sysexits.h Update. Jun 21, 1997
syslog.h Update. Jun 21, 1997
tar.h Update. Jun 21, 1997
termios.h First steps to get conformtest fully working Feb 26, 2012
tgmath.h Update. Sep 6, 1998
time.h Fix symbol definitions for __clock_* functions Jun 11, 2013
ttyent.h Fix ttyslot namespace (bug 18547). Jun 17, 2015
uchar.h First steps to get conformtest fully working Feb 26, 2012
ucontext.h Update. Oct 12, 1999
ulimit.h First steps to get conformtest fully working Feb 26, 2012
unistd.h posix: New Linux posix_spawn{p} implementation Mar 7, 2016
utime.h First steps to get conformtest fully working Feb 26, 2012
utmp.h Remove pre-ISO C support Jan 8, 2012
values.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
wchar.h Refactor strtod parsing of NaN payloads. Nov 24, 2015
wctype.h Fix regex wctype namespace (bug 18495). Jun 5, 2015
wordexp.h First steps to get conformtest fully working Feb 26, 2012
xlocale.h Update. Jun 21, 1997