fix broken sysconf when correct value is -1
authorRich Felker <dalias@aerifal.cx>
Sat, 21 Apr 2012 15:45:07 +0000 (11:45 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 21 Apr 2012 15:45:07 +0000 (11:45 -0400)
commitc61312596608bf819b693c04a395f1b4e3e0acf0
tree5b88287042115d526ccb21132b7c158196cf0efc
parentc5d1adc56c22ead8caa9effcee0518a7a8ff3c06
fix broken sysconf when correct value is -1

this caused glib to try to allocate >2gb for getpwnam_r, and probably
numerous other problems.
src/conf/sysconf.c