X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew Schulman <schulman.andrew@epamail.epa.gov>
Subject:  Re: Revised: ls: reading directory .: No such file or directory
Date:  Tue, 01 Aug 2006 12:24:36 -0400
Lines: 14
Message-ID:  <psvuc29a2nu7ki7h6d9p6tmlqophltvudo@4ax.com>
References:  <17370db50608010815ma1a27bfoac531286ad10d342@mail.gmail.com> <20060801155413.GA26030@trixie.casa.cgf.cx>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
X-Archive: encrypt
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

> On Tue, Aug 01, 2006 at 09:15:44AM -0600, Monte Riding wrote:
> >I have an issue when trying to run ls in the root of my C: drive
> >that's cropped up recently, not sure what's happened -
> 
> Morale of the story:  Use POSIX paths, i.e. "cd /cygdrive/c".

OK, but mightn't it be considered a bug that Cygwin is being inconsistent in
its treatment of non-POSIX paths?  The CWD is stored as C:.  bash then
presents it (and apparently sees it) as /cygdrive/c.  ls OTOH apparently
sees it as C:, which it can't properly interpret.  I'm not sure who's at
fault (Cygwin DLL, bash, or ls), but something is getting garbled in
translation.

[slips armored helmet on]


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

