symlinks in bash 2.05

JQ Johnson jqj@darkwing.uoregon.edu
Mon Apr 30 09:59:00 GMT 2001


I installed cygwin 1.3.1 with bash-2.05-3 today, and noticed a minor
infelicity in the handling of symlinks.

With the new symlink support, if I cd to a symlink, then pwd only displays the
logical cwd.  "pwd -P" (or, more importantly, set -o physical) displays a null
string after connecting to a symlink.  /bin/pwd continues to work correctly.

To reproduce:  create a symlink or a Windows .lnk to some absolute pathname,
e.g. /etc.  For example:

534-$ ln -s /etc foo
535-$ pwd
/cygdrive/c/users/jqj
536-$ cd foo
/cygdrive/c/users/jqj/foo
537-$ /bin/pwd
/etc
538-$ pwd -L
/cygdrive/c/users/jqj/foo
539-$ pwd -P
540-$


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list