From owner-cvs-all Mon Jan 11 05:52:18 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA05564 for cvs-all-outgoing; Mon, 11 Jan 1999 05:52:18 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from hda.hda.com (hda-bicnet.bicnet.net [209.244.238.132] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA05552; Mon, 11 Jan 1999 05:52:12 -0800 (PST) (envelope-from dufault@hda.hda.com) Received: (from dufault@localhost) by hda.hda.com (8.8.5/8.8.5) id IAA15901; Mon, 11 Jan 1999 08:47:15 -0500 (EST) From: Peter Dufault Message-Id: <199901111347.IAA15901@hda.hda.com> Subject: Re: cvs commit: src/include unistd.h In-Reply-To: <199901111303.AAA02776@godzilla.zeta.org.au> from Bruce Evans at "Jan 12, 99 00:03:10 am" To: bde@zeta.org.au (Bruce Evans) Date: Mon, 11 Jan 1999 08:47:14 -0500 (EST) Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, msmith@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > This is completely wrong. _POSIX_SOURCE is for POSIX.1. Much messier > ifdefs, which we don't attempt, are required for POSIX.2 and later > versions. getopt() and most of the getopt() variables are in POSIX.2, > but optreset seems to be in a later version. You need to do something along the lines of what I put in sys/_posix.h to sort out when extensions show up. Find out what rev these are added in, define _P_FOO_VISIBLE, and sort out the visibility there. You don't need _P_FOO_VISIBLE_HISTORICALLY if there aren't any pre-existing BSD extensions in that category. Bruce - your turn. I can take it. Peter -- Peter Dufault (dufault@hda.com) Realtime development, Machine control, HD Associates, Inc. Safety critical systems, Agency approval To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message