2016-01-22 19:37 GMT+08:00 Bruce Evans :
> On Fri, 22 Jan 2016, Marcelo Araujo wrote:
>
> 2016-01-22 15:57 GMT+08:00 Bruce Evans :
>>
>>> ...
>>> Unfortunately, getdtablesize() is still needed for arrays as used in yp*,
>>> and for anything using select(). If getdtablesize() is large then the
>>>
On Fri, 22 Jan 2016, Marcelo Araujo wrote:
2016-01-22 15:57 GMT+08:00 Bruce Evans :
...
Unfortunately, getdtablesize() is still needed for arrays as used in yp*,
and for anything using select(). If getdtablesize() is large then the
arrays should be sparse or large fd's should not be actually u
2016-01-22 15:57 GMT+08:00 Bruce Evans :
> On Fri, 22 Jan 2016, Marcelo Araujo wrote:
>
> Log:
>> 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.
>>
>
> Modified: head/usr.sbin/ypldap/yp
On Fri, 22 Jan 2016, Marcelo Araujo wrote:
Log:
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.
Modified: head/usr.sbin/ypldap/yp.c
===