delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/12/23/15:34:50

From: Paul DOT Moore AT uk DOT origin-it DOT com (Moore, Paul)
Subject: Strange ls -CF problem
23 Dec 1998 15:34:50 -0800 :
Message-ID: <c=UK%a=_%p=Origin-it%l=UKRUX002-981223105353Z-41876.cygnus.gnu-win32@ukrax001.ras.uk.origin-it.com>
Mime-Version: 1.0
To: "'Gnu Win32'" <gnu-win32 AT cygnus DOT com>

Hi,
I've got a strange problem with ls -CF. I'm running ls on Windows 95,
from the COMMAND.COM prompt, not bash. My CYGWIN variable is unset.

If I do ls -CF C:/, then I get exactly the results I expect. However, if
I do ls -CF C:\, then ls runs VERY slowly, and produces a series of
lines

/CYGNUS/CYGWIN~1/H-I586~1/BIN/LS.EXE: C:\/IO.SYS: No such device or
address
/CYGNUS/CYGWIN~1/H-I586~1/BIN/LS.EXE: C:\/DRVSPACE.BIN: No such device
or address
/CYGNUS/CYGWIN~1/H-I586~1/BIN/LS.EXE: C:\/WINDOWS: No such device or
address
/CYGNUS/CYGWIN~1/H-I586~1/BIN/LS.EXE: C:\/CONFIG.OLD: No such device or
address
/CYGNUS/CYGWIN~1/H-I586~1/BIN/LS.EXE: C:\/CONFIG.SYS: No such device or
address
/CYGNUS/CYGWIN~1/H-I586~1/BIN/LS.EXE: C:\/LOGO.SYS: No such device or
address
/CYGNUS/CYGWIN~1/H-I586~1/BIN/LS.EXE: C:\/Program Files: No such device
or address

Obviously, something is wrong here - but what, exactly?

Presumably support for backslashes in filenames is broken somehow. Is
this a known bug? It only appears when the directory name ends with a \
- ls -CF C:\WINDOWS works fine.

Paul Moore.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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