]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Switch from FD_SETSIZE to getdtablesize(2) as it can make the FD to be
authoraraujo <araujo@FreeBSD.org>
Fri, 22 Jan 2016 03:02:38 +0000 (03:02 +0000)
committeraraujo <araujo@FreeBSD.org>
Fri, 22 Jan 2016 03:02:38 +0000 (03:02 +0000)
commit010e5362b87aa3e400c15c0cf58de9e0579d633f
tree6d89590118fa266fb72cbb7f859301969d343d9b
parenta1a70ee565543b50a1d46d80f0827fb69edb1be2
Switch from FD_SETSIZE to getdtablesize(2) as it can make the FD to be
tunable. Also it gets more close with the original implementation from
OpenBSD.

Requested by: rodrigc
Approved by: rodrigc (mentor)
Differential Revision: https://reviews.freebsd.org/D4970
usr.sbin/ypldap/yp.c