freebsd-dev/bin
Xin LI 0e3e87bd43 Fix a bug when shell expansion is done against dangling symlinks, by
converting the stat() call to a lstat() call, which will cover the
situation.  One can exercise this bug by referring a dangling link with
something like */the-link.

Approved by:	re (scottl)
Submitted by:	Simon 'corecode' Schubert [corecode fs ei tum de]
Obtained from:	NetBSD via DragonFlyBSD (NetBSD rev. 1.51 and DragonFly
		rev. 1.6)
MFC After:	3 days
2005-07-07 18:10:33 +00:00
..
cat Add the new standard EXIT STATUS section where appropriate. 2005-01-16 16:41:59 +00:00
chflags Sort sections. 2005-06-14 08:25:54 +00:00
chio Don't specify SRCS= when it can be obtained from PROGS= 2005-01-27 13:25:09 +00:00
chmod Expand contractions. 2005-02-13 23:45:54 +00:00
cp Fix a few markup nits in previous commit. 2005-02-25 00:40:46 +00:00
csh Define HAVE_STRUCT_UTMP_UT_HOST in order for the REMOTEHOST environment 2005-05-04 20:21:57 +00:00
date Expand *n't contractions. 2005-02-13 22:25:33 +00:00
dd Sort sections. 2005-06-14 08:25:54 +00:00
df Add the new standard EXIT STATUS section where appropriate. 2005-01-16 16:41:59 +00:00
domainname /*- or .\"- or #- to begin license clauses. 2005-01-10 08:39:26 +00:00
echo Add the new standard EXIT STATUS section where appropriate. 2005-01-16 16:41:59 +00:00
ed Sync program's usage() with manpage's SYNOPSIS. 2005-02-09 17:37:39 +00:00
expr Add the new standard EXIT STATUS section where appropriate. 2005-01-16 16:41:59 +00:00
getfacl Sync program's usage() with manpage's SYNOPSIS. 2005-02-09 17:37:39 +00:00
hostname There is no /etc/rc.network anymore. 2005-04-17 23:22:22 +00:00
kenv /*- or .\"- or #- to begin license clauses. 2005-01-10 08:39:26 +00:00
kill Add the new standard EXIT STATUS section where appropriate. 2005-01-16 16:41:59 +00:00
ln Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ls Remove the EXAMPLES section that describes how to sort by size using 2005-06-03 11:38:35 +00:00
mkdir Sync program's usage() with manpage's SYNOPSIS. 2005-02-09 17:37:39 +00:00
mv Correct a few places where we called warn() when warnx() should have 2005-05-19 21:33:48 +00:00
pax Fix bin/pax doesn't wait for compress/gzip before exiting. 2005-03-12 06:38:01 +00:00
ps o Typo: s/teminal/terminal/. 2005-04-29 11:10:27 +00:00
pwd Sync program's usage() with manpage's SYNOPSIS. 2005-02-09 17:37:39 +00:00
rcp Expand *n't contractions. 2005-02-13 22:25:33 +00:00
realpath Add the new standard EXIT STATUS section where appropriate. 2005-01-16 16:41:59 +00:00
rm Sync program's usage() with manpage's SYNOPSIS. 2005-02-09 17:37:39 +00:00
rmail Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
rmdir The new name for the DIAGNOSTICS section is EXIT STATUS. 2005-05-31 12:57:44 +00:00
setfacl Sync program's usage() with manpage's SYNOPSIS. 2005-02-09 17:37:39 +00:00
sh Fix a bug when shell expansion is done against dangling symlinks, by 2005-07-07 18:10:33 +00:00
sleep Add the new standard EXIT STATUS section where appropriate. 2005-01-16 16:41:59 +00:00
stty Fix: printed output flags (onocr) and (onlret) same as oxtabs 2005-05-26 06:57:57 +00:00
sync /*- or .\"- or #- to begin license clauses. 2005-01-10 08:39:26 +00:00
test /*- or .\"- or #- to begin license clauses. 2005-01-10 08:39:26 +00:00
uuidgen Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
Makefile Wrap BSD r* commands in NO_RCMDS. 2005-03-02 11:53:22 +00:00
Makefile.inc NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00