Date: Mon, 1 Jun 1998 14:11:48 -0400 (EDT) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: Mike Smith <mike@smith.net.au> Cc: freebsd-current@FreeBSD.ORG Subject: Re: cdrecord trouble on currnet Message-ID: <199806011811.OAA22409@khavrinen.lcs.mit.edu> In-Reply-To: <199806011513.IAA17888@antipodes.cdrom.com> References: <199806011215.OAA16994@sherwood.gmd.de> <199806011513.IAA17888@antipodes.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Mon, 01 Jun 1998 08:13:18 -0700, Mike Smith <mike@smith.net.au> said:
> This would defeat the entire purpose of sysconf(), which is to pass
> opaque constants to the kernel.
Bullshit. Go look at the code before making pronouncements from on
high.
In particular, note the code which quite clearly states:
case _SC_CHILD_MAX:
return (getrlimit(RLIMIT_NPROC, &rl) ? -1 : rl.rlim_cur);
case _SC_CLK_TCK:
return (CLK_TCK);
There is no earthly reason why a:
case _SC_PAGESIZE:
return (getpagesize());
...cannot be added to this same switch statement.
-GAWollman
--
Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu | O Siem / The fires of freedom
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806011811.OAA22409>
