Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Fri, 5 May 2000 13:07:05 -0400 To: "'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'" References: <20000505155813 DOT 18291 DOT qmail AT web109 DOT yahoomail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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" 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