| delorie.com/archives/browse.cgi | search |
| From: | "Mark E." <snowball3 AT bigfoot DOT com> |
| To: | djgpp-workers AT delorie DOT com |
| Date: | Sun, 11 Feb 2001 16:08:45 -0500 |
| MIME-Version: | 1.0 |
| Subject: | Re: Bash problem with SFN |
| Message-ID: | <3A86B90D.15400.11A13E4@localhost> |
| In-reply-to: | <20010211094319.9403.qmail@softhome.net> |
| X-mailer: | Pegasus Mail for Win32 (v3.12c) |
| Reply-To: | djgpp-workers AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp-workers AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
> Hm? If I do as follows
> sh-2.04$ cd /programs/djgpp/test/longlong/dir
> sh-2.04$ echo What > file
>
> Then everything works.
Hmm, I can get this fail without using Bash with LFN=N. Below is an excerpt
of the program I used on my own machine to trigger the problem.
...
mkdir("longlonglong", S_IWUSR);
chdir("/dev/d/djgpp/projects/sfn/longlonglong");
mkdir("dir", S_IWUSR);
chdir("/dev/d/djgpp/projects/sfn/longlonglong/dir");
fd = open("file", O_WRONLY | O_TEXT | O_CREAT | O_TRUNC, S_IWUSR);
[fd will be -1 when LFN=N.]
I've uploaded a new version of Bash 2.04 to
http://members.nbci.com/snowball3/djgpp/ that avoids this error.
Mark
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |