freebsd-dev/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 One more nit. 2006-12-23 09:25:23 +00:00
chflags Fix probably copy&paste from chmod(1) - we change file flags here, not mode. 2007-05-28 04:23:09 +00:00
chio
chmod - Mention umask(2) when first referring to it. 2006-12-22 07:28:38 +00:00
cp As suggested, replace earlier changed warnx() / exit() with an errx() 2007-12-26 08:32:20 +00:00
csh Work around a vendor issue that was causing the builtin malloc to be 2007-05-16 21:22:38 +00:00
date Don't reset DST computed by strptime() (when e.g. setting the 2008-02-07 16:04:24 +00:00
dd More inactive maintainers. 2006-07-09 21:47:37 +00:00
df Significantly reduce the memory leak as noted in BUGS section for 2007-07-04 00:00:41 +00:00
domainname Use a standard section name. 2006-12-18 15:45:01 +00:00
echo
ed Move WARNS as ed(1) also is only WARNS = 2 clean in the !DES case. 2007-12-09 00:14:27 +00:00
expr Fix markup. 2007-03-04 19:52:07 +00:00
getfacl Use owner name and owning group name instead of uid and gid 2007-09-19 02:04:47 +00:00
hostname Style(9) fixes, thanks to Ruslan. 2006-12-08 07:47:08 +00:00
kenv -mdoc sweep. 2005-11-17 12:15:23 +00:00
kill Fix markup. 2007-03-04 09:15:12 +00:00
ln Express in the usage() and SYNOPSIS that -F depends on -s, and 2007-11-17 21:01:22 +00:00
ls Avoid a spurious warning for each whiteout found during "ls -lW". 2006-10-18 10:58:27 +00:00
mkdir More markup fixes. 2006-12-27 11:28:00 +00:00
mv - Roll-back attempts to mimic rename(2) atomicity introduced in 1.47, 2007-12-27 11:33:42 +00:00
pax Remove unnecessary free argument casts. 2007-05-25 17:53:38 +00:00
ps Teach ps(1) to parse pts TT values (i.e. '0', '1') for the -t flag. 2007-11-08 22:31:28 +00:00
pwd
rcp In the error handling path, don't call close(fd) if the error we're 2007-05-22 04:21:00 +00:00
realpath
rm Give a hint to the reader as to what the "whiteout" actually means. 2006-12-26 13:57:40 +00:00
rmail
rmdir Fix markup. 2006-12-27 12:14:56 +00:00
setfacl Implement the -h flag (set an ACL on a symbolic link). 2007-02-26 00:42:17 +00:00
sh Split updatepwd() into two smaller functions. The first one, findpwd(), 2008-02-24 16:50:55 +00:00
sleep
stty
sync
test Simplify some markup. 2006-12-14 10:42:46 +00:00
uuidgen Move uuidgen(1) from /usr/bin/ to /bin/. It will be used in rc.d/hostid 2007-04-09 19:16:48 +00:00
Makefile Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
Makefile.inc Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00