Mail Archives: djgpp-workers/2001/02/12/02:30:25
On Sun, 11 Feb 2001, Mark E. wrote:
> 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.]
On DOS or on Windows?
> I've uploaded a new version of Bash 2.04 to
> http://members.nbci.com/snowball3/djgpp/ that avoids this error.
How does it avoid this? Did you succeed to understand why does this
problem happen? If so, perhaps you could explain what causes it.
- Raw text -