| www.delorie.com/archives/browse.cgi | search |
| From: | eplmst AT lu DOT erisoft DOT se (Martin Stromberg) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: mkdir and /dev/env/ |
| Date: | 30 May 2000 11:06:26 GMT |
| Organization: | Ericsson Erisoft AB, Sweden |
| Lines: | 24 |
| Message-ID: | <8h07bi$s55$1@antares.lu.erisoft.se> |
| References: | <Pine DOT SUN DOT 3 DOT 91 DOT 1000530134437 DOT 1964C-100000 AT is> |
| NNTP-Posting-Host: | lws256.lu.erisoft.se |
| X-Newsreader: | TIN [version 1.2 PL2] |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:
: 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?
Just an observation in case you didn't notice: note that the
environment variable's value is "\yafc" (the backslash!).
: Yes, it is supposed to work.
Yes, I think so too.
Right,
MartinS
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |