bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pwd fails to traverse unreadable directory


From: Eric Blake
Subject: Re: pwd fails to traverse unreadable directory
Date: Sun, 04 Feb 2007 07:44:21 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jim Meyering on 2/4/2007 4:57 AM:
> I wrote:
> ...
>> I'll add tests to coreutils some time next week.
> 
> I've added the test.
> However, in its current state, it will fail on systems with
> inadequate getcwd.  So before long, I'll have to find a work-around.
> Either skip the test on such systems, or maybe change gnulib's getcwd.c
> to try the value of $PWD from the environment when all else fails.

We should be reading $PWD anyway, in order to implement pwd -L vs. pwd -P.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFxfFF84KuGfSFAYARAosSAJ9X+i8yGOgUZoN6Km6tDipam2CkjgCghcol
fn4g0Ugo3UPYK9aneG3TGXY=
=T7pi
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]