From owner-cvs-lib Mon Dec 30 10:41:23 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA10507 for cvs-lib-outgoing; Mon, 30 Dec 1996 10:41:23 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA10500; Mon, 30 Dec 1996 10:41:21 -0800 (PST) Date: Mon, 30 Dec 1996 10:41:21 -0800 (PST) From: Peter Wemm Message-Id: <199612301841.KAA10500@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/rpc rpc_dtablesize.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/12/30 10:41:21 Modified: lib/libc/rpc rpc_dtablesize.c Log: Oops! Bad Idea! (TM) Restore the clamp on the return value from rpc_dtablesize().. Some programs (eg: ypserv) use this as an indication of how large svc_fdset is in their hand-rolled svc_run() loops. The svc_fdset table is maintained by the rpc library explicitly for compatability with such programs. (It uses a different variable-sized bitmap itself internally) Revision Changes Path 1.6 +13 -3 src/lib/libc/rpc/rpc_dtablesize.c