Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2002 19:59:35 -0800
From:      Alfred Perlstein <alfred@FreeBSD.org>
To:        Garrett Wollman <wollman@lcs.mit.edu>
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>
In-Reply-To: <200211170346.gAH3kWZm099704@khavrinen.lcs.mit.edu>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
* Garrett Wollman <wollman@lcs.mit.edu> [021116 19:46] wrote:
> <<On Sat, 16 Nov 2002 19:40:41 -0800, Alfred Perlstein <alfred@FreeBSD.org> 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




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