Re: "cd .." when WD unlinked gives wrong behaviour

2005-02-22 Thread Chet Ramey
Chet Ramey wrote: 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 previo

Re: "cd .." when WD unlinked gives wrong behaviour

2005-02-22 Thread Chet Ramey
> 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 dire

"cd .." when WD unlinked gives wrong behaviour

2005-02-22 Thread Tim Waugh
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/s