Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 1996 07:07:36 -0800 (PST)
From:      Peter Wemm <peter>
To:        CVS-committers, cvs-all, cvs-lib
Subject:   cvs commit:  src/lib/libc/rpc svc.c
Message-ID:  <199612301507.HAA00507@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       96/12/30 07:07:35

  Modified:    lib/libc/rpc  svc.c
  Log:
  - major overhaul to make this deal with unlimited fd's.
  - kill non-FD_SETSIZE code
  
  Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
  
  Note, there was a nasty bug with our old code here.  It would trash the
  stack if a fd > 31 was passed in.  It was using a "long" as though it
  was an "fd_set", ie: it was assuming that a long was 256 bits wide. :-(
  This has been lurking here for a while, since the FD_SETSIZE #ifdef's
  were first implemented.
  
  Revision  Changes    Path
  1.7       +68 -56    src/lib/libc/rpc/svc.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612301507.HAA00507>