OSDN Git Service

sysconf: use getrlimit to determine ARG_MAX
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 17 Apr 2012 22:31:03 +0000 (00:31 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 17 Apr 2012 22:31:03 +0000 (00:31 +0200)
commit4b24c5ad368d0312dbb9cfd6e028a3b21bba48cd
tree95cc3d80b9969a3b7b5cf79cab6b28a15450776b
parent1d57dcdd9b43c8d7bb2dddf4bfecc95567641a07
sysconf: use getrlimit to determine ARG_MAX

getrlimit previously was only called for NPTL (why?), fix that to be
used everywhere.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/unistd/sysconf.c