delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/01/17/10:59:58

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <10201171559.AA15706@clio.rice.edu>
Subject: Re: ls weirdness on root drive
To: eliz AT is DOT elta DOT co DOT il
Date: Thu, 17 Jan 2002 09:59:41 -0600 (CST)
Cc: acottrel AT ihug DOT com DOT au, djgpp-workers AT delorie DOT com
In-Reply-To: <7458-Wed16Jan2002182428+0200-eliz@is.elta.co.il> from "Eli Zaretskii" at Jan 16, 2002 06:24:29 PM
X-Mailer: ELM [version 2.5 PL2]
Mime-Version: 1.0
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

I wrote a little test program using findfirst.

If both sys and hidden search attribute bits are set, and it is the root
directory of the strange C:\ NTFS drive, find first returns one file and 
then returns no others.  If I clear the hidden search attribute bit it 
works fine.  I cannot reproduce the problem on any other drive or directory.

If I load the LFN TSR it works fine, of course.

We already knew that searches with the VOL bit didn't work under Win2K/XP
on the root of a volume, and it now seems that other things may not work
either in some rare situtations.  I have tried to reproduce the problem
in other directories without luck.

I'll continue looking, but for now I have no recommendations.

- Raw text -


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