From owner-cvs-all Sat Nov 16 19:59:37 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5454237B401; Sat, 16 Nov 2002 19:59:36 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09B7D43E4A; Sat, 16 Nov 2002 19:59:36 -0800 (PST) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id E95CAAE323; Sat, 16 Nov 2002 19:59:35 -0800 (PST) Date: Sat, 16 Nov 2002 19:59:35 -0800 From: Alfred Perlstein To: Garrett Wollman Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/gen sysconf.c Message-ID: <20021117035935.GE6882@elvis.mu.org> References: <200211160635.gAG6ZKUX094649@repoman.freebsd.org> <200211160706.gAG76Z4S089556@khavrinen.lcs.mit.edu> <20021116095822.GT50692@elvis.mu.org> <200211170202.gAH22oLd099179@khavrinen.lcs.mit.edu> <20021117030805.GA6882@elvis.mu.org> <200211170333.gAH3XG7o099552@khavrinen.lcs.mit.edu> <20021117034041.GC6882@elvis.mu.org> <200211170346.gAH3kWZm099704@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200211170346.gAH3kWZm099704@khavrinen.lcs.mit.edu> User-Agent: Mutt/1.4i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Garrett Wollman [021116 19:46] wrote: > < said: > > > But don't we want -1 for _SC_AIO_LISTIO_MAX and _SC_AIO_MAX when it's > > not loaded? > > Yes, but we want the kernel to return the correct value (or rather, we > want the kernel to return an error, which is not possible in the > current implementation, but as an ideal..) rather than having libc > patch up the wrong value. Actually the posix4_mib.c file could initialize those to -1. I'll put in a version that should cover all these cases. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message