* sysdeps/unix/sysv/linux/bits/local_lim.h: Undefined ARG_MAX if
commitf96853beafc26d4f030961b0b67a79b5bfad5733
authorUlrich Drepper <drepper@redhat.com>
Thu, 27 Mar 2008 15:20:38 +0000 (27 15:20 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 27 Mar 2008 15:20:38 +0000 (27 15:20 +0000)
treea8480225d97a7eeeccee963ce5a7bae53d296dba
parentfde15fdc5bea3d66be8fa967031ab89707b08a39
* sysdeps/unix/sysv/linux/bits/local_lim.h: Undefined ARG_MAX if

<linux/limits.h> has defined it.
* sysdeps/unix/sysv/linux/sys/param.h: Define NCARGS to the legacy
ARG_MAX value and prevent ARG_MAX from being defined by the kernel
headers.
* sysdeps/unix/sysv/linux/sysconf.c: Define legacy_ARG_MAX and use
it instead of ARG_MAX.
ChangeLog
nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/alpha/bits/local_lim.h
nptl/sysdeps/unix/sysv/linux/bits/local_lim.h
nptl/sysdeps/unix/sysv/linux/ia64/bits/local_lim.h
nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h
nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h
sysdeps/unix/sysv/linux/bits/local_lim.h
sysdeps/unix/sysv/linux/sys/param.h
sysdeps/unix/sysv/linux/sysconf.c