zsh-workers
 help / color / mirror / code / Atom feed
* Bug report:  PWD environment variable broken!
@ 1999-02-20 12:31 Martin Buchholz
  1999-02-20 15:50 ` Peter Stephenson
  1999-02-20 22:05 ` Bart Schaefer
  0 siblings, 2 replies; 5+ messages in thread
From: Martin Buchholz @ 1999-02-20 12:31 UTC (permalink / raw)
  To: zsh-workers

On some platforms, the PWD environment variable is not being properly
updated after a cd.  This is the environment variable, not the
internal PWD variable.

Here is some output on a variety of systems for this command sequence:

uname -a; echo $ZSH_VERSION; cd ~/x/build;  env | grep PWD | grep -v OLDPWD

Conclusions:  3.1 Seems to be broken on Linux and BSDI.  A serious bug.

I tried to downgrade to 3.0.5.

3.0.5 on BSDI coredumps on invocation. 

On Linux 3.0.5 failed to build:

gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 builtin.c
builtin.c:4279: macro `dup' used with just one arg

:-(

It's sad to see my favorite shell so buggy!

-------------- etlindy11 ----------------
IRIX etlindy11 6.2 03131015 IP22
3.1.5
PWD=/usr/users/martin/x/build
-------------- etlsui2  ----------------
HP-UX etlsui2 B.10.20 A 9000/780 2004436110 two-user license
3.1.5
PWD=/usr/users/martin/x/build
-------------- mongkok  ----------------
Linux mongkok 2.0.34 #5 Tue Feb 16 17:22:05 JST 1999 i586 unknown
3.1.2-debian
PWD=/usr/users/martin
-------------- mule     ----------------
SunOS mule 4.1.4 2 sun4m
3.1.5
PWD=/usr/users/martin/x/build
-------------- etlken   ----------------
SunOS etlken 5.6 Generic_105181-08 sun4u sparc SUNW,Ultra-2
3.1.5
PWD=/usr/users/martin/x/build
-------------- gneiss   ----------------
OSF1 gneiss.etl.go.jp V4.0 1091 alpha
3.1.5
PWD=/usr/users/martin/x/build
-------------- yuenlong ----------------
export DISPLAY=mulelab:0.0
uname -a; echo $ZSH_VERSION; cd ~/x/build;  env | grep PWD
FreeBSD yuenlong.etl.go.jp 2.2.8-RELEASE FreeBSD 2.2.8-RELEASE #0: Mon Nov 30 06:34:08 GMT 1998     jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC  i386
3.0.5
PWD=/usr/users/martin/x/build
-------------- kowloon  ----------------
export DISPLAY=mulelab:0.0
uname -a; echo $ZSH_VERSION; cd ~/x/build;  env | grep PWD
BSD/OS kowloon.etl.go.jp 4.0 BSDI BSD/OS 4.0 Kernel #0: Tue Jul 28 15:56:54 MDT 1998     polk@demiurge.BSDI.COM:/rel/proto/4.0-i386/usr/src/sys/compile/GENERIC  i386
3.1.5
PWD=/usr/home/martin
-------------- mulelab  ----------------
SunOS mulelab 5.5.1 Generic_103640-05 sun4u sparc SUNW,Ultra-2
3.1.5
PWD=/usr/users/martin/x/build


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-02-22  9:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-02-20 12:31 Bug report: PWD environment variable broken! Martin Buchholz
1999-02-20 15:50 ` Peter Stephenson
1999-02-20 22:05 ` Bart Schaefer
1999-02-21  6:17   ` 2 patches included to fix configure brokenness Martin Buchholz
1999-02-22  9:41     ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).