[Top][All Lists]

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

Re: [bug-gzip] gzip-1.5 test failures on FreeBSD 9.0 and NetBSD 5.1

From: Eric Blake
Subject: Re: [bug-gzip] gzip-1.5 test failures on FreeBSD 9.0 and NetBSD 5.1
Date: Wed, 20 Jun 2012 09:08:28 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0

On 06/20/2012 08:45 AM, Paul Eggert wrote:

> More generally, the problem is that often people use scripts
> in Perl or Python or whatnot to run a test, or run a test from
> a shell spawned by a terminal emulator, and these scripts
> or terminal emulators may execute chdir without updating PWD,
> so the shell starts up with the wrong PWD.

POSIX requires the shell to sanitize PWD at startup rather than relying
on the (possibly-incorrect) value that it may have inherited from the
environment.  But knowing whether a shell follows the POSIX rules on PWD
could indeed be useful for deciding portable workarounds and/or altering
the shell probing done at the front of autoconf scripts to pick a better

Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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