From owner-cvs-lib Mon Dec 30 07:07:38 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id HAA00514 for cvs-lib-outgoing; Mon, 30 Dec 1996 07:07:38 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id HAA00507; Mon, 30 Dec 1996 07:07:36 -0800 (PST) Date: Mon, 30 Dec 1996 07:07:36 -0800 (PST) From: Peter Wemm Message-Id: <199612301507.HAA00507@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/rpc svc.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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