X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f Date: Thu, 17 Jan 2002 09:33:21 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Charles Sandmann cc: djgpp-workers AT delorie DOT com, Andrew Cottrell Subject: Re: ls weirdness on root drive In-Reply-To: <10201161432.AA16707@clio.rice.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Wed, 16 Jan 2002, Charles Sandmann wrote: > > I thought fixpath converts all backslashes to forward slashes. Does't > > it? > > Either it doesn't or lstat puts them back someplace. At that point > in the code a debug statement showed them sometimes forward, sometimes > backward Must be some bug (or maybe some other code did something to what _fixpath returned). _fixpath should _never_ return backslashes in the file name, quite a few programs, especially in Fileutils, depend on that for correct operation.