This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
bash "cd" bug when pathname has 3+ periods
- To: gnu-win32 at cygnus dot com
- Subject: bash "cd" bug when pathname has 3+ periods
- From: "Daniel J. Barrett" <barrett at cs dot umass dot edu>
- Date: Wed, 9 Jul 1997 17:36:47 -0400 (EDT)
- cc: barrett at cs dot umass dot edu
- Reply-to: barrett at cs dot umass dot edu
In Bash 1.14.7(2) under Windows 95, the Bash command "cd"
exhibits incorrect behavior. This bug does not occur in bash compiled
for UNIX.
Run "cd" with a pathname that does not exist, and whose last
component is 3 or more periods. Here are some examples:
cd ...
cd /....
cd /foo/bar/.....
Bash will "cd" into the nonexistent directory. For example:
$ pwd
/
$ cd ...
$ pwd
/...
I did not compile this bash -- I downloaded the binary from ftp.cygnus.com
today as part of USERTOOLS.EXE.
--
Dan Barrett
barrett@cs.umass.edu
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".