Date: Sat, 2 Aug 1997 15:42:24 -0600 (MDT) From: Marc Slemko <marcs@znep.com> To: Peter Wemm <peter@FreeBSD.ORG> Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/net res_send.c Message-ID: <Pine.BSF.3.95.970802154051.12645O-100000@alive.znep.com> In-Reply-To: <199706280419.VAA16441@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Anyone want to import this into the 2.2 branch? Since the hard-coded FD_SETSIZE check was added in rev. 1.14, using things like Apache with more than 256 fds means that you have to recompile your libc with a higher FD_SETSIZE. Would be nice to have this fix in 2.2... On Fri, 27 Jun 1997, Peter Wemm wrote: > peter 1997/06/27 21:19:53 PDT > > Modified files: > lib/libc/net res_send.c > Log: > 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. > > Revision Changes Path > 1.18 +16 -9 src/lib/libc/net/res_send.c >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970802154051.12645O-100000>