Skip to content
Branch: master
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
You can’t perform that action at this time.