Message-Id: Date: Wed, 13 Mar 96 18:16 MST From: mat AT ardi DOT com (Mat Hostetter) To: djgpp-workers AT delorie DOT com Subject: `stat' fails to detect nonexistent files under WinNT 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