From owner-cvs-all Fri Nov 15 22:38: 2 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 9554E37B401; Fri, 15 Nov 2002 22:38:01 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46BB143E75; Fri, 15 Nov 2002 22:38:01 -0800 (PST) (envelope-from alfred@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gAG6ZKmV094650; Fri, 15 Nov 2002 22:35:20 -0800 (PST) (envelope-from alfred@repoman.freebsd.org) Received: (from alfred@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gAG6ZKUX094649; Fri, 15 Nov 2002 22:35:20 -0800 (PST) Message-Id: <200211160635.gAG6ZKUX094649@repoman.freebsd.org> From: Alfred Perlstein Date: Fri, 15 Nov 2002 22:35:20 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen sysconf.c X-FreeBSD-CVS-Branch: HEAD 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 alfred 2002/11/15 22:35:20 PST Modified files: lib/libc/gen sysconf.c Log: Provide more correct default values for sysconf(3) reporting of the AIO subsystems capabilities: _SC_AIO_LISTIO_MAX returns the default of _POSIX_AIO_LISTIO_MAX _SC_AIO_MAX returns the default _POSIX_AIO_MAX _SC_AIO_PRIO_DELTA_MAX returns the default of 0 Without these adjustments the values returned are -1 even when the aio side of the kernel returns '0' for them which is incorrect. Noticed by: Craig Rodrigues Revision Changes Path 1.18 +3 -0 src/lib/libc/gen/sysconf.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message