Mail Archives: djgpp-workers/1996/03/13/20:20:59
We have discovered that doing a `stat' of a nonexistent file always
returns 0 under WinNT (in full screen mode), when it should of course
return -1. This is taking place on a normal FAT volume.
The exact same test program works fine under DOS 6.22 running on the
same FAT volume looking for the same nonexistent file (i.e. `stat'
correctly returns -1).
`stat' correctly returns -1 under WinNT if we give it a huge bogus
filename like:
thisfilenameisreallyreally.too.long.for.my.own.good
Any ideas?
-Mat
- Raw text -