www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/30/06:47:51

Date: Tue, 30 May 2000 13:47:19 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Gisle Vanem <giva AT bryggen DOT bgnett DOT no>
cc: djgpp AT delorie DOT com
Subject: Re: mkdir and /dev/env/
In-Reply-To: <Pine.UW2.3.95.1000530121527.8071A-100000@bryggen.bgnett.no>
Message-ID: <Pine.SUN.3.91.1000530134437.1964C-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 30 May 2000, Gisle Vanem wrote:

> With "set YAFC=\yafc", this code fails:
> 
> if (mkdir ("/dev/env/YAFC", S_IRUSR|S_IWUSR|S_IXUSR) != 0) 
>   perror("");
> 
> The mode is '0400|0200|0100' = 0700 (octal)
> 
> Is that supposed to work?

Yes, it is supposed to work.

Does the above call work if you replace "/dev/env/YAFC" with "/yafc"?
If it does, please post the shortest program that exhibits the problem 
with /dev/env, so that others could try reproducing it.

Sorry for asking the obvious, but you *do* use DJGPP v2.03, yes?

- Raw text -


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