NetBSD/bin
itohy ef88b5d2bd Fixed memory leak on old style command substitution
such as  sh -c 'echo `echo foo`' .
The memory allocated with ckmalloc() at
parser.c:1349:readtoken1() (search for "done:" label)
was never freed.

I changed this to use 'string stack' framework of Ash.
Note that a string on string stack is properly freed on
exception and end of command parsing, and no explicit free
or signal handlings required.
See TOUR for an overview, and memalloc.[ch] for details
of string stack.
1998-09-26 20:56:33 +00:00
..
cat Delint. 1998-07-28 05:31:22 +00:00
chio Delint. 1998-07-28 05:31:22 +00:00
chmod Delint. 1998-07-28 05:31:22 +00:00
cp Add some braces to keep egcs happy. 1998-08-19 01:29:11 +00:00
csh Add some braces to make egcs happy. 1998-08-19 01:31:46 +00:00
date Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
dd Add some braces to make egcs happy. 1998-08-19 01:31:46 +00:00
df Delint. 1998-07-28 05:31:22 +00:00
domainname Delint. 1998-07-28 05:31:22 +00:00
echo lint 1997-11-05 21:17:14 +00:00
ed Add some braces to make egcs happy. 1998-08-19 01:31:46 +00:00
expr Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
hostname Delint. 1998-07-28 05:31:22 +00:00
kill Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
ksh Add some braces to make egcs happy. 1998-08-19 01:43:22 +00:00
ln Delint. 1998-07-28 05:31:22 +00:00
ls Add some braces to make egcs happy. 1998-08-19 01:43:22 +00:00
mkdir Delint. 1998-07-28 05:31:22 +00:00
mt rev man page for eew 1998-07-30 00:58:27 +00:00
mv Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
pax Transparently handle old-style GNU tar archives that may have garbage in 1998-08-10 22:34:59 +00:00
ps Add CWARNFLAGS+=-Wno-format-y2k. 1998-08-25 15:13:16 +00:00
pwd Delint. 1998-07-28 05:31:22 +00:00
rcmd Grammar police, plus a bit of general cleanup of the BUGS section. 1998-01-14 00:40:51 +00:00
rcp Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
rm Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
rmdir Delint. 1998-07-28 05:31:22 +00:00
sh Fixed memory leak on old style command substitution 1998-09-26 20:56:33 +00:00
sleep Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
stty Oops; the old BSD aliases were not actually used. 1998-07-28 11:51:47 +00:00
sync fix mdoc references 1998-04-28 18:05:53 +00:00
test Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
Makefile Add rcmd to the SUBDIR list. 1997-05-29 21:06:11 +00:00
Makefile.inc pull bsd.own.mk in before LDSTATIC?=-static, so that LDSTATIC can be 1998-03-02 22:03:11 +00:00