fix sysconf for infinite rlimits
authorNatanael Copa <ncopa@alpinelinux.org>
Thu, 7 Dec 2017 22:18:54 +0000 (23:18 +0100)
committerRich Felker <dalias@aerifal.cx>
Fri, 15 Dec 2017 02:25:10 +0000 (21:25 -0500)
commit3ec82877e7783f0706ba3c9e3c815cd2aa34059e
treed57b3716980774d2e15a42a48a1dea670e324c56
parent131276809fe3b7bed6086772bc5e3e9941dc6c6c
fix sysconf for infinite rlimits

sysconf should return -1 for infinity, not LONG_MAX.
src/conf/sysconf.c