Re: bug in pwd POSIX-compliance

2005-02-18 Thread Chet Ramey
Eric Blake wrote: On further research, the requirement for `pwd -P' to set PWD was intentional, and not a mistake. See POSIX XRAT A.3 (http://www.opengroup.org/onlinepubs/009695399/xrat/xbd_chap03.html) under Symbolic Links line 1148, which states: Historically, several shells have had built-i

Re: bug in pwd POSIX-compliance

2005-02-18 Thread Eric Blake
Chet Ramey caleb.ins.cwru.edu> writes: > > > > Description: > > POSIX requires pwd(1) with the -P option to update the PWD environment > > variable with a version scrubbed of all symlinks. See > > http://www.opengroup.org/onlinepubs/009695399/utilities/pwd.html > > > > Bash currently does not d

Re: bug in pwd POSIX-compliance

2005-02-16 Thread Eric Blake
According to Chet Ramey on 2/16/2005 12:55 PM: >>POSIX requires pwd(1) with the -P option to update the PWD environment >>variable with a version scrubbed of all symlinks. See >>http://www.opengroup.org/onlinepubs/009695399/utilities/pwd.html >> > I agree that the standard says that, but no shell

Re: bug in pwd POSIX-compliance

2005-02-16 Thread Chet Ramey
> Machine Type: i686-pc-cygwin > > Bash Version: 3.0 > Patch Level: 16 > Release Status: release > > Description: > POSIX requires pwd(1) with the -P option to update the PWD environment > variable with a version scrubbed of all symlinks. See > http://www.opengroup.org/onlinepubs/009695399/utili

bug in pwd POSIX-compliance

2005-02-16 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Machine: i686 OS: cygwin Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686' - -DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='i686-pc-cygwin' -DCONF_VENDOR='pc' - -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' -DSHELL - -DHA