diff options
author | peter <peter@FreeBSD.org> | 1997-06-28 04:19:52 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-06-28 04:19:52 +0000 |
commit | 0e9bc076721cc9e5492fe8d0faa092eada38c0c3 (patch) | |
tree | 2b57a788388923247df85be433f3ce836c4b6d0d /etc/services | |
parent | a83cd6d7faae10bd3e364d9624acd3bf227ce3d9 (diff) | |
download | FreeBSD-src-0e9bc076721cc9e5492fe8d0faa092eada38c0c3.zip FreeBSD-src-0e9bc076721cc9e5492fe8d0faa092eada38c0c3.tar.gz |
replace the OpenBSD fd_set sizing code with something more efficient.
Only call malloc() if the fd is too big for the compiled in fd_set size,
and don't use calloc either. This should reduce the impact of conflicts
with private malloc implementations etc. When using the fd_set on the
stack, only zero what is needed rather than all 1024 bits like FD_ZERO did.
Diffstat (limited to 'etc/services')
0 files changed, 0 insertions, 0 deletions