Mail Archives: djgpp-workers/1996/09/11/06:13:23
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.
- Raw text -