Date: Sun, 30 Apr 1995 14:51:11 +0400 From: "Andrey A. Chernov, Black Mage" <ache@astral.msk.su> To: Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu> Cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com Subject: Re: cvs commit: src/sys/sys unistd.h Message-ID: <nCVksel0wJ@astral.msk.su> In-Reply-To: <9504291825.AA22822@halloran-eldar.lcs.mit.edu>; from Garrett Wollman at Sat, 29 Apr 1995 14:25:39 -0400 References: <199504291420.HAA26427@freefall.cdrom.com> <9504291825.AA22822@halloran-eldar.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <9504291825.AA22822@halloran-eldar.lcs.mit.edu> Garrett Wollman writes: ><<On Sat, 29 Apr 1995 07:20:38 -0700, "Andrey A. Chernov" <ache@freefall.cdrom.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?nCVksel0wJ>