From owner-freebsd-current Mon Jun 1 11:12:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA27181 for freebsd-current-outgoing; Mon, 1 Jun 1998 11:12:06 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA27147 for ; Mon, 1 Jun 1998 11:12:00 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.8.8/8.8.8) id OAA22409; Mon, 1 Jun 1998 14:11:48 -0400 (EDT) (envelope-from wollman) Date: Mon, 1 Jun 1998 14:11:48 -0400 (EDT) From: Garrett Wollman Message-Id: <199806011811.OAA22409@khavrinen.lcs.mit.edu> To: Mike Smith Cc: freebsd-current@FreeBSD.ORG Subject: Re: cdrecord trouble on currnet In-Reply-To: <199806011513.IAA17888@antipodes.cdrom.com> References: <199806011215.OAA16994@sherwood.gmd.de> <199806011513.IAA17888@antipodes.cdrom.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG < 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