[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash-2.04-87 sets incorrect value for env variable PWD .......... ......
From: |
mnayak |
Subject: |
bash-2.04-87 sets incorrect value for env variable PWD .......... ...... |
Date: |
Thu, 20 Sep 2001 11:58:15 +0530 |
Hi,
I think BASH sets incorrect value for env variable PWD.
I am using bash version 2.04-87 in suse.
Steps to Reproduce:
1.Log in as any user with the login shell as bash.
2.run the command 'cd //' (without quotes).
3.run the command 'pwd'. It shows '//'.
4.echo the env variable PWD, 'echo $PWD'. It shows '//'.
Actual Results:
The env variable is set to '//'.
Expected Results:
The env variable PWD should be set to '/'
Additional Information:
The problem is only when displaying the current working directory. The
command
'ls' lists the contents of the '/' directory thus giving the expected
behaviour.
my make bashbug gives me following information regarding my system's
configuration.
MACHINE = "i586"
OS ="linux-gnu"
CC="gcc"
CFLAGS=" -DPROGRAM='bash' -DCONF_HOSTTYPE='586' -DCONF_OSTYPE='linux-gnu'
-DCONF_MACHTYPE='I586-pc-linux-gnu' -DCONF_VENDOR='pc' -DSHELL
-DHAVE_CONFIG_H
-D_FILE_OFFSET_BITS=64 -I. -I. -I./include -I./lib
-I/usr/local/include -g -02"
RELEASE="2.04"
PATCHLEVEL="0"
RELSTATUS="release"
MACHTYPE="i586-pc-linux-gnu"
Thanks
Manoj Nayak
- bash-2.04-87 sets incorrect value for env variable PWD .......... ......,
mnayak <=