delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/01/17/02:38:07

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 <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
cc: djgpp-workers AT delorie DOT com, Andrew Cottrell <acottrel AT ihug DOT com DOT au>
Subject: Re: ls weirdness on root drive
In-Reply-To: <10201161432.AA16707@clio.rice.edu>
Message-ID: <Pine.SUN.3.91.1020117093253.13091B-100000@is>
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

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.

- Raw text -


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