delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/05/12:06:21

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Fri, 5 May 2000 13:07:05 -0400
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: A simple one. CYGWIN_98 - 4.10 (BASH false error message) (secon d time newbie bug report)
Message-ID: <20000505130705.A4050@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: cgf AT cygnus DOT com,
"'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
References: <20000505155813 DOT 18291 DOT qmail AT web109 DOT yahoomail DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.1.12i
In-Reply-To: <20000505155813.18291.qmail@web109.yahoomail.com>; from earnie_boyd@yahoo.com on Fri, May 05, 2000 at 08:58:13AM -0700

On Fri, May 05, 2000 at 08:58:13AM -0700, Earnie Boyd wrote:
>This has been reported before, the bug is in bash and it is the error message
>wording that is incorrect.  `is a directory' should read `is not a directory'.

I think that Paul Sokolovsky's analysis is correct, actually.  The errno mapping
is probably wrong.  I see the same thing with 'zsh'.

Now that I actually know about this, I'll fix it.

cgf

>--- "Diel, Robert" <RDiel AT wmsgaming DOT com> wrote:
>> To whom it may concern,
>>     A false error message exists in the built in CD command in bash.  If you
>> change directory to a file, it says the file is a directory.  For example,
>> 
>> cd /bin/ls.exe
>> BASH.EXE:  cd: bin/ls.exe: is a directory
>> 
>> I took a quick look at the source code, and didn't see anything obvious.  It
>> might have to do with someone, cd, falsely setting the ENOEXEC flag, but I
>> am not quite sure.  I don't have time right now to look into it, but if it
>> is needed I can look into it further tonight.  I know this is a nitpicking
>> little problem, but considering how far y'all have advanced, even in the
>> last year, any little problem makes this product look less professional then
>> it actually is.  Thank you,

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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