delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/25/23:04:20

Date: Wed, 25 Aug 1999 12:10:06 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Michael Bukin <M DOT A DOT Bukin AT inp DOT nsk DOT su>
cc: djgpp AT delorie DOT com
Subject: Re: RHIDE crashes without traceback. [solved!]
In-Reply-To: <20d7wcn272.fsf@Sky.inp.nsk.su>
Message-ID: <Pine.SUN.3.91.990825120728.2834E-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 25 Aug 1999, Michael Bukin wrote:

> E:\TEMP>redir -t ls \\foo
> d:/comp/djgpp/bin/ls: //foo: No such file or directory (ENOENT)
> Elapsed time: 8.630 seconds
> 
> E:\TEMP>redir -t ls c:\\foo
> d:/comp/djgpp/bin/ls: c://foo: No such file or directory (ENOENT)
> Elapsed time: 8.620 seconds

Beware: the DJGPP port of GNU `ls' converts all backslashes to forward
slashes before `main' even sees them.  So you might type \\foo, but what
`ls' really sees is //foo; see the message printed by `ls'.  Some
observations reported here seem to indicate that the case of the slashes
matters (probably because the conversion of / into \ is done on a
different level than the canonicalization of file names). 

- Raw text -


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