From owner-freebsd-bugs Fri Sep 29 17:32: 7 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from gidora.zeta.org.au (gidora.zeta.org.au [203.26.10.25]) by hub.freebsd.org (Postfix) with SMTP id 80A9237B503 for ; Fri, 29 Sep 2000 17:31:59 -0700 (PDT) Received: (qmail 31654 invoked from network); 29 Sep 2000 23:31:13 -0000 Received: from unknown (HELO bde.zeta.org.au) (203.2.228.102) by gidora.zeta.org.au with SMTP; 29 Sep 2000 23:31:13 -0000 Date: Sat, 30 Sep 2000 10:31:08 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Garrett Wollman Cc: Peter Pentchev , freebsd-bugs@FreeBSD.ORG, freebsd-standards@khavrinen.lcs.mit.edu Subject: Re: misc/21644: /usr/include/sys/mman.h uses a type defined in /usr/include/sys/types.h In-Reply-To: <200009291628.MAA92746@khavrinen.lcs.mit.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 29 Sep 2000, Garrett Wollman wrote: > The P1003.1-200x document eliminates the requirement for > in many places; see (e.g.) the description of fork() at XSH pages 887 > through 891 (and specifically lines 12890 and 12891). P1003.1-1996 doesn't require for shm_open(), so I suppose this requirement never existed for shm_open() (and probably similarly for the other new functions in P1003.1-1996). > So, this is a > change we are going to be required to make. Not precisely the change in the PR. has too much namespace pollution to include nested. The correct change (unless P1003.1-200x is so broken as to require everything that may be in a POSIX to be declared in ) is to replace mode_t by a basic type that is compatible with mode_t and whose name is not in the application namespace. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message