Article View: gnu.bash.bug
Article #290Flurry of `file not found' messages.
From: Brian Fox
Date: Mon, 10 Jul 1989 19:25
Date: Mon, 10 Jul 1989 19:25
30 lines
1728 bytes
1728 bytes
Date: Mon, 10 Jul 89 14:59:59 -0400 From: romine@xagsun.epm.ornl.gov I don't know if this has been discussed before, but I dislike the flurry of `file not found' messages that are produced when CDPATH is non-null and an attempt is made to change to a nonexistent directory. The fix is to delete the call to file_error at line 920 of builtins.c (bash-1.02). I fixed the same behavior in versions 0.99 and 1.01. Chuck Romine romine@msr.epm.ornl.gov P.S. I have not mentioned machine/OS configurations, since this is not a machine-dependent phenomenon. It's evidently intentional. I don't get a "flurry of file not found" messages. I only get one. Please send your environment, and a recipe with a bug report of this type. It would help, for example, to know what the value of CDPATH is, and if you have "cd" aliased or written as a function, or are using the simple builtin. bfox@aurel$ CDPATH=.:/usr/gnu/src:/usr/gnu:/usr/bin:/usr/src/XV11R3 bfox@aurel$ cd goodfkldfk goodfkldfk: No such file or directory bfox@aurel$ CDPATH=/usr/gnu/src:/usr/gnu:/usr/bin:/usr/src/XV11R3:. bfox@aurel$ cd sldflksdf sldflksdf: No such file or directory bfox@aurel$
Technical Details
Message-ID:
<8907101925.AA29284@aurel.caltech.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!cica!tut.cis.ohio-state.edu!AUREL.CALTECH.EDU!bfoxReferences:
<8907101900.AA11281@xagsun.epm.ornl.gov>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!cica!tut.cis.ohio-state.edu!AUREL.CALTECH.EDU!bfox From: bfox@AUREL.CALTECH.EDU (Brian Fox) Newsgroups: gnu.bash.bug Subject: Flurry of `file not found' messages. Message-ID: <8907101925.AA29284@aurel.caltech.edu> Date: 10 Jul 89 19:25:08 GMT References: <8907101900.AA11281@xagsun.epm.ornl.gov> Sender: daemon@tut.cis.ohio-state.edu Reply-To: bfox@aurel.caltech.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 30