Date: Tue, 25 Nov 1997 14:00:43 +0200 (IST) From: Eli Zaretskii To: DJ Delorie cc: k3040e4 AT c210 DOT edvz DOT uni-linz DOT ac DOT at, djgpp-workers AT delorie DOT com Subject: Re: constants In-Reply-To: <199711250244.VAA29269@delorie.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 24 Nov 1997, DJ Delorie wrote: > > I'd bet you have troubles finding a S_IFDIR != 0x4000 or S_ISUID != 04000. > > I have no problems finding examples. SGI's S_ISUID is 0x0800. S_ISUID is not the main problem. The S_IFMT bits are. Does SGI define these differently as well? > Programs that > hard-code values, when macros defined by ANSI and POSIX are available, > are broken. Changing DJGPP to support broken programs, at the risk of > breaking working programs and libraries, is unacceptable. I agree that such programs are broken, but given that the set of broken programs includes GNU cpio, I think this is well worth of changing unless we have grave reasons not to. (The definition of ``grave reasons'' is left as an excercise to the reader ;-)