delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/09/11/06:13:23

Date: Wed, 11 Sep 1996 13:06:26 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Robert Hoehne <robert DOT hoehne AT mathematik DOT tu-chemnitz DOT de>
Cc: djgpp-workers AT delorie DOT com
Subject: Re: V2 alpha 980908 -- stat.c
In-Reply-To: <Pine.HPP.3.91.960911094723.106B@newton.mathematik.tu-chemnitz.de>
Message-Id: <Pine.SUN.3.91.960911130305.13314A-100000@is>
Mime-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019