freebsd-skq/bin
Jilles Tjoelker 16d8c5ec5d sh: Remove setting variables from dotcmd/exportcmd.
It is already done by evalcommand(), unless special-ness has been removed,
in which case variable assignments should not persist. (These are currently
always special builtins, but this will change later: command builtin,
command substitution.)

This also fixes a memory leak when calling . with variable assignments.

Example:
  valgrind --leak-check=full sh -c 'x=1 . /dev/null; x=2'
2009-12-24 15:14:22 +00:00
..
cat Removed redundant WARNS setting. 2009-10-15 18:17:29 +00:00
chflags Staticify internal routines. 2009-06-23 23:30:56 +00:00
chio When running a "chio return" operation using a physical source unit 2008-10-30 19:51:02 +00:00
chmod - Don't include both <sys/types.h> and <sys/param.h> 2009-09-02 05:26:59 +00:00
cp Add NFSv4 ACL support to cp(1) and fix a few memory leaks. 2009-09-02 08:08:57 +00:00
csh Check error of dlfunc(3). 2009-10-17 15:53:15 +00:00
date Let date(1) use utmpx instead of logwtmp(). 2009-12-05 20:09:50 +00:00
dd Bump .Dd for r187609 2009-01-30 16:23:57 +00:00
df Staticify internal routines. 2009-06-23 23:30:56 +00:00
domainname Use a standard section name. 2006-12-18 15:45:01 +00:00
echo Mark functions as __dead2 in order to help the LLVM static checker 2008-08-04 01:25:48 +00:00
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 our canonical .Dd format. 2009-11-02 12:35:38 +00:00
hostname Staticify internal routines. 2009-06-23 23:30:56 +00:00
kenv o Fix a typo. Bump .Dd for the previous delta. 2009-01-13 18:25:56 +00:00
kill Fix markup. 2007-03-04 09:15:12 +00:00
ln Allow creating hard links to symlinks using ln(1). 2009-07-19 17:35:23 +00:00
ls ls: Make -p not inhibit following symlinks. 2009-10-13 21:51:50 +00:00
mkdir More markup fixes. 2006-12-27 11:28:00 +00:00
mv Add NFSv4 ACL support to mv(1). 2009-09-04 21:49:37 +00:00
pax Plug a memory leak. 2009-12-21 19:18:27 +00:00
pkill When finding processes, ignore ourself and our ancestors. It is almost 2009-05-17 04:34:14 +00:00
ps Fix small resource leak (memory). 2009-11-17 07:29:35 +00:00
pwait Add pwait utility, which waits for any process to terminate. 2009-11-17 22:47:20 +00:00
pwd Sync program's usage() with manpage's SYNOPSIS. 2005-02-09 17:37:39 +00:00
rcp Remove superfluous va_end which was left there in rev 1.38. 2008-10-28 17:15:46 +00:00
realpath Enhance realpath(1) in a number of ways: 2008-03-09 12:46:39 +00:00
rm rm, find -delete: fix removing symlinks with uchg/uappnd set. 2009-05-30 10:42:19 +00:00
rmail Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
rmdir Fix markup. 2006-12-27 12:14:56 +00:00
setfacl Add NFSv4 support to setfacl(1). 2009-09-07 16:19:32 +00:00
sh sh: Remove setting variables from dotcmd/exportcmd. 2009-12-24 15:14:22 +00:00
sleep Fix a comment. 2005-08-07 09:11:38 +00:00
stty Make stty(1) use tab0 and tab3 to handle tab completion. 2008-08-23 13:28:55 +00:00
sync /*- or .\"- or #- to begin license clauses. 2005-01-10 08:39:26 +00:00
test Fix various cases with 3 or 4 parameters in test(1) to be POSIX compliant. 2009-05-26 22:33:10 +00:00
uuidgen Removed redundant WARNS setting. 2009-10-15 18:17:29 +00:00
Makefile Add pwait utility, which waits for any process to terminate. 2009-11-17 22:47:20 +00:00
Makefile.inc Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00