[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: Paul Eggert
Subject: Re: [bug-gzip] gzip-1.5 test failures on FreeBSD 9.0 and NetBSD 5.1
Date: Wed, 20 Jun 2012 07:45:43 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

On 06/20/2012 07:16 AM, Eric Blake wrote:
> do we know which shells suffer from this
> POSIX non-compliance bug, and whether they are still in active use

Sorry, I don't know of a list of such shells.
The problem is documented in the Autoconf manual,
without listing shells.

I have verified that the problem exists in Solaris 10 /bin/sh
but not Solaris 11 /bin/sh, so it looks like we'll be living
with this issue for a while, at least with /bin/sh.

A brief but not exhaustive Google search also found zsh 3.1
<http://www.zsh.org/mla/workers/1999/msg00480.html>, ash circa 2002
<http://osdir.com/ml/emacs.devel/2002-04/msg00691.html>, fish circa 2009

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.

reply via email to

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