1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00
freebsd/bin
Stefan Farfeleder 55d2c5b573 Split updatepwd() into two smaller functions. The first one, findpwd(),
computes the new path and the second one, updatepwd(), updates the variables
PWD, OLDPWD and the path used for the pwd builtin according to the new
directory.  For a logical directory change, chdir() is now called between
those two functions, no longer causing wrong values to be stored in PWD etc. if
it fails.

PR:	64990, 101316, 120571
2008-02-24 16:50:55 +00:00
..
cat
chflags
chio
chmod
cp
csh
date
dd
df
domainname
echo
ed
expr
getfacl
hostname
kenv
kill
ln
ls
mkdir
mv
pax
ps
pwd
rcp
realpath
rm
rmail
rmdir
setfacl
sh Split updatepwd() into two smaller functions. The first one, findpwd(), 2008-02-24 16:50:55 +00:00
sleep
stty
sync
test
uuidgen
Makefile
Makefile.inc