From owner-cvs-sys Sun Apr 30 04:06:31 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id EAA17832 for cvs-sys-outgoing; Sun, 30 Apr 1995 04:06:31 -0700 Received: from sequent.kiae.su (sequent.kiae.su [144.206.136.6]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id EAA17811 ; Sun, 30 Apr 1995 04:06:22 -0700 Received: by sequent.kiae.su id AA20303 (5.65.kiae-2 ); Sun, 30 Apr 1995 15:05:36 +0400 Received: by sequent.KIAE.su (UUMAIL/2.0); Sun, 30 Apr 95 15:05:35 +0400 Received: (from ache@localhost) by astral.msk.su (8.6.8/8.6.6) id OAA05075; Sun, 30 Apr 1995 14:51:11 +0400 To: Garrett Wollman Cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com References: <199504291420.HAA26427@freefall.cdrom.com> <9504291825.AA22822@halloran-eldar.lcs.mit.edu> In-Reply-To: <9504291825.AA22822@halloran-eldar.lcs.mit.edu>; from Garrett Wollman at Sat, 29 Apr 1995 14:25:39 -0400 Message-Id: Organization: Olahm Ha-Yetzirah Date: Sun, 30 Apr 1995 14:51:11 +0400 X-Mailer: Mail/@ [v2.32 FreeBSD] From: "Andrey A. Chernov, Black Mage" X-Class: Fast Subject: Re: cvs commit: src/sys/sys unistd.h Lines: 25 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 1140 Sender: cvs-sys-owner@freebsd.org Precedence: bulk In message <9504291825.AA22822@halloran-eldar.lcs.mit.edu> Garrett Wollman writes: >< said: >> Enable _POSIX_SAVED_IDS and fix comment to describe current situation >This should be left undefined so that programs call >sysconf(_SC_SAVED_IDS) instead. No. POSIX says then they sysconf() return parameter value at _runtime_ and unistd.h have parameter value for _compile time_. It two is completely different styles. Program can do dinamic switch at runtime and static switch at compile time. Currently we have not only _POSIX_SAVED_IDS but _many_ parameters of such kind in unistd.h (duplicated via sysconf), it helps to #ifdef some things at compile time. I know some pgms which use _POSIX_SAVE_IDS for #ifdef and no one which use sysconf(_SC_SAVED_IDS) -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - FidoNet: 2:5020/230.3 : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849