From owner-freebsd-current Mon Dec 9 9:26:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87FE137B401; Mon, 9 Dec 2002 09:26:24 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id D264143E4A; Mon, 9 Dec 2002 09:26:23 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.6/8.12.3) with ESMTP id gB9HQLuB056629; Mon, 9 Dec 2002 10:26:22 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 09 Dec 2002 10:23:59 -0700 (MST) Message-Id: <20021209.102359.93815657.imp@bsdimp.com> To: marc@informatik.uni-bremen.de Cc: mike@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: sys/file.h and POSIX From: "M. Warner Losh" In-Reply-To: <619340000.1039364545@leeloo.intern.geht.de> References: <509390000.1039349835@leeloo.intern.geht.de> <20021208104335.E74206@espresso.q9media.com> <619340000.1039364545@leeloo.intern.geht.de> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <619340000.1039364545@leeloo.intern.geht.de> Marc Recht writes: : > Why are you specifying a standard and then using features outside its : > scope? Either you want a BSD environment (in which case don't specify : The standard is specified to get the standard functions. Eg. if i specify : _POSIX_C_SOURCE=200112L then I want (for example) POSIX's flockfile, if the : OS supports POSIX. This doesn't mean that I don't want rpc. Actually, yes it does. When you specify a standard, you exclude all things not in that standard. It is a crap shoot if they work. At least that's how these _*_SOURCE macros have worked on all other systems that I've used. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message