Date: Tue, 30 May 2000 13:47:19 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Gisle Vanem cc: djgpp AT delorie DOT com Subject: Re: mkdir and /dev/env/ In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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?