Configuration Information [Automatically generated, do not change]: Machine: i386 OS: linux-gnu Compiler: i386-redhat-linux-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -m32 -march=i386 -mtune=pentium4 uname output: Linux gene.surrey.redhat.com 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686 i686 i386 GNU/Linux Machine Type: i386-redhat-linux-gnu
Bash Version: 3.0 Patch Level: 16 Release Status: release Description: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=149079 When the working directory has been unlinked, "cd .." should give an error exit status, but instead exits with code 0. Additionally, "pwd" (the built-in) appends "/.." to the previous working directory, rather than giving an error as it previously did. Repeat-By: $ mkdir -p /tmp/foo/bar $ cd /tmp/foo/bar $ rm -rf /tmp/foo $ cd .. cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory $ echo $? 0 $ pwd /tmp/foo/bar/.. $ echo $? 0 $ pwd -P pwd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory $ pwd pwd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Tim. */
pgpgBnmGpaYdK.pgp
Description: PGP signature
_______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash