Subject: Re: CVS commit: src
To: None <simonb@netbsd.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 09/19/1998 22:21:59
On Sat, 19 Sep 1998 22:42:06 -0700 (PDT) 
 Simon Burge <simonb@netbsd.org> wrote:

 > Module Name:	src
 > Committed By:	simonb
 > Date:		Sun Sep 20 05:42:06 UTC 1998
 > 
 > Modified Files:
 > 	src/sys/sys: stat.h
 > Log Message:
 > Define the S_IS* macros in terms of the S_IF* defines rather than
 > duplicating magic numbers.

If you're going to do this, you need to do:

	(1) Create _S_IF*.

	(2) If !_POSIX_C_SOURCE || _XOPEN_SOURCE, define S_IF* -> _S_IF*

	(3) Define S_IS* in t terms of _S_IF*

This is because S_IF* pollute the namespace.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 940 5942