Date: Mon, 01 Oct 2001 08:58:33 +0200 From: "Eli Zaretskii" 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 Precedence: bulk > 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!