delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/11/19/12:19:33

Date: Wed, 19 Nov 1997 19:17:41 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Oberhumer Markus <k3040e4 AT c210 DOT edvz DOT uni-linz DOT ac DOT at>
cc: djgpp-workers <djgpp-workers AT delorie DOT com>
Subject: Re: <sys/stat.h> constants
In-Reply-To: <199711191711.TAA09987@is.elta.co.il>
Message-ID: <Pine.SUN.3.91.971119191444.9972B-100000@is>
MIME-Version: 1.0

On Wed, 19 Nov 1997, Oberhumer Markus wrote:

> The values of some constants in <sys/stat.h> are different
> from all other systems I've seen, especially S_IFDIR.
> 
> While implementations are probably free to use values of their choice,
> I nevertheless suggest changing them to standard ones.

I agree.  This has caused me a major pain in the lower back when I ported 
GNU cpio (which puts the mode bits verbatim into the archive).

DJ, if this change is not too much for a minor release, I recommend to 
include it.

And while at that, can we also reconcile R_OK, W_OK and the rest of 
constants accepted by `access' with the rest of Unix world?

- Raw text -


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