Re: Bug in pwd

2005-02-16 Thread James Youngman
On Wed, Feb 16, 2005 at 06:47:26AM -0700, Eric Blake wrote: Furthermore, POSIX requires that when -P is specified, that $PWD be updated in the calling environment to scrub all symlinks from the environment variable that were previously set by a `cd -L' command. I see no possible way to

Re: Bug in pwd

2005-02-16 Thread Jim Meyering
Eric Blake [EMAIL PROTECTED] wrote: POSIX now requires pwd(1) to support -L and -P, that -L is the default, and that -L reads $PWD to verify that it is a name (possibly with symbolic links) of the current directory. Coreutils pwd currently implements none of this, and behaves as though -P is