Mail Archives: djgpp-workers/1997/11/25/07:00:46
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 ;-)
- Raw text -