Date: Wed, 11 Sep 1996 13:06:26 +0200 (IST) From: Eli Zaretskii To: Robert Hoehne Cc: djgpp-workers AT delorie DOT com Subject: Re: V2 alpha 980908 -- stat.c In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 11 Sep 1996, Robert Hoehne wrote: > It does not recognize correct the DOS version: > > S:\GNU\MAKE-3.74\T>redir stat.exe 0 test.bat > DOS 0.0 ((null)) > ^^^^^^^^^^^^^^^^ That's just a bug in the test program: when `stat' fails half way through its mainline code, it might be before it calls the function that gets the DOS version, and so the OS version variables retain their zero values. The patches I've sent correct this too (it isn't nice to dereference a NULL pointer, even in a test program), but other than that, this doesn't have any effect on `stat' in the library.