delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/11/24/16:56:55

Message-Id: <199711242155.QAA06271@delorie.com>
From: Oberhumer Markus <k3040e4 AT c210 DOT edvz DOT uni-linz DOT ac DOT at>
Subject: Re: <sys/stat.h> constants
To: dj AT delorie DOT com (DJ Delorie)
Date: Mon, 24 Nov 1997 22:43:42 +0100 (MET)
Cc: k3040e4 AT c210 DOT edvz DOT uni-linz DOT ac DOT at, djgpp-workers AT delorie DOT com,
eliz AT is DOT elta DOT co DOT il
In-Reply-To: <199711210218.VAA04359@delorie.com> from "DJ Delorie" at Nov 20, 97 09:18:16 pm
Return-Read-To: markus DOT oberhumer AT jk DOT uni-linz DOT ac DOT at
Mime-Version: 1.0

> > The values of some constants in <sys/stat.h> are different
> > from all other systems I've seen, especially S_IFDIR.
> 
> So?

Allerdings.

> > While implementations are probably free to use values of their choice,
> > I nevertheless suggest changing them to standard ones.
> 
> There are no "standard ones"

I'd bet you have troubles finding a S_IFDIR != 0x4000 or S_ISUID != 04000.

> > I don't think this should break anything.
> 
> It will break all existing libraries that use stat, perhaps like
> allegro.

Allegro uses neither stat() nor access(). Which are the libaries
you are concerned about ?

BTW, I stronly suggest rebuilding most packages with 2.02 ASAP anyway, at
least v2gnu. Call it the ultimate beta test.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019