getdtablesize: fix returning hard instead of soft rlimit
authorOlivier Brunel <jjk@jjacky.com>
Sat, 13 Aug 2016 18:31:49 +0000 (20:31 +0200)
committerRich Felker <dalias@aerifal.cx>
Tue, 30 Aug 2016 20:15:22 +0000 (16:15 -0400)
commit397586625e71d166f493f16bfe04f3005ae464c3
tree5f3dd455abbf838e81e242780469516996da05c1
parentc1f4ed150137d793c9d07356305a89e8785e7e02
getdtablesize: fix returning hard instead of soft rlimit

This makes the result consistent with sysconf(_SC_OPEN_MAX).
src/legacy/getdtablesize.c