delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/08/14/03:21:18

Date: Tue, 14 Aug 2001 10:15:27 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: sandmann AT clio DOT rice DOT edu
Message-Id: <4634-Tue14Aug2001101525+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: acottrel AT ihug DOT com DOT au, djgpp-workers AT delorie DOT com
In-reply-to: <10108140514.AA13389@clio.rice.edu> (sandmann@clio.rice.edu)
Subject: Re: Windows 2000 patch for utime.c
References: <10108140514 DOT AA13389 AT clio DOT rice DOT edu>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
> Date: Tue, 14 Aug 2001 00:14:40 -0500 (CDT)
> 
> > +   if (_osmajor == 5 &&
> > +       (_USE_LFN)    &&
> > +       (_get_dos_version(1) == 0x532)) /* LFN and NT (or 2000 or XP) */
> > +   {
> 
> I suggest we create a new global: extern short _os_true_version
> so we can change this to:
> 
>       if (_USE_LFN && _os_true_version == 0x532)

I think we should consider this later, when we have a better notion of
how many places need this.  Note that the conditions are carefully
arranged to call _get_dos_version as the last resort, so the only
systems which are punished are DOS 5 machines with NTLFN installed,
and W2K itself.

- Raw text -


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