delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/10/01/03:01:26

Date: Mon, 01 Oct 2001 08:58:33 +0200
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: <7458-Mon01Oct2001085833+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: djgpp-workers AT delorie DOT com
In-reply-to: <10109301612.AA17719@clio.rice.edu> (sandmann@clio.rice.edu)
Subject: Re: mntent problem summary on Win2K/XP
References: <10109301612 DOT AA17719 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: Sun, 30 Sep 2001 11:12:46 -0500 (CDT)
> 
> > I'd say let's not look for volume labels at all if DOS version is
> > 0x532 and LFN is ON.  I.e. let's make a local change in getmntent.
> 
> There is currently a test in the code to make sure hidden and system bits
> are not set in the returned entry.  I added a check to see if the volume
> bit was set.

But that means we call findnext in a loop until all files are
exhausted, no?  Doesn't that punish W2K users too much?

> I did find one thing in the current code, a comparison to 0x332 as the
> dos version, with a comment saying NT.  Should this be 0x532 ?

Ouch!  Of course, it should be 0x532!

- Raw text -


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