Message-Id: Date: Wed, 20 Mar 96 08:31 MST From: mat AT ardi DOT com (Mat Hostetter) To: Eli Zaretskii Cc: djgpp-workers AT delorie DOT com Subject: Re: stat lies under NT (was: gdb info) In-Reply-To: References: >>>>> "Eli" == Eli Zaretskii writes: Eli> Attached. Please note that I didn't have too much time to Eli> test it, so take it with a grain of salt. If anybody out Eli> there has access to Win95, OS/2, network drives of any kind Eli> and other wierdnesses, please apply this patch and tell me Eli> how does it work. The best way to test it is to compile Eli> stat.c from the library sources with -DTEST and use the Eli> program that this will generate. It seems to work under NT. Here's a log from running it under WinNT. `badfile' does not exist, but `stat' does. Our Win95 machine is out of the office right now so I can't test it there. -Mat Microsoft(R) Windows NT(TM) (C) Copyright 1985-1995 Microsoft Corp. C:\EXECUTOR.9Q5>cd \tmp C:\tmp>.\stat.exe 0 badfile Microsoft(R) Windows NT DOS (C)Copyright Microsoft Corp 1990-1993. DOS 5.0 (Microsoft MS-DOS) badfile: lossage : No such file or directory (ENOENT) Everything checks out OK C:\tmp>.\stat.exe 0 stat DOS 5.0 (Microsoft MS-DOS) stat: 2 65537 755 1 42 103430 827309636 Wed Mar 20 08:13:56 1996 Cannot find SDA entry which corresponds to pathname (bad SDA pointer?) Failed to get starting cluster number; inode defaults to hashing (if no other messages were printed, then this is either an empty file on a local disk drive, or a file on a networked drive, or you run under some kind of DOS clone)