freebsd-skq/bin
Martin Cracauer 84c3800cdc From submitter:
growstackblock() sometimes relocates a stack_block considered empty
without properly relocating stack marks referencing that block.
The first call to popstackmark() with the unrelocated stack mark
as argument then causes sh to abort.

Relocating the relevant stack marks seems to solve this problem.

The patch changes the semantics of popstackmark() somewhat.  It can
only be called once after a call to setstackmark(), thus cmdloop() in
main.c needs an extra call to setstackmark().

PR:		bin/19983
Submitted by:	Tor.Egge@fast.no
Reviewed by:	Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2000-08-16 10:39:43 +00:00
..
cat Use Dq Li (double-quoted literal) instead of Ic (internal command) to 2000-06-27 18:22:13 +00:00
chflags Switch over to using the new fflagstostr and strtofflags library calls. 2000-06-17 14:19:33 +00:00
chio Don't explicitly declare optarg and optind. These are declared in 2000-08-16 05:14:49 +00:00
chmod Optimize out no-op chmod() syscalls. 2000-07-29 22:16:55 +00:00
cp fix cp -vi bug 2000-01-23 03:04:49 +00:00
csh restore tabs lost from prev commit 2000-07-07 08:27:59 +00:00
date Don't explicitly declare optarg and optind. These are declared in 2000-08-16 05:14:49 +00:00
dd Make the comment regarding ftruncate() correct. 2000-07-20 19:21:40 +00:00
df Add -g for gigabyte sizes. 2000-06-03 20:17:39 +00:00
domainname $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
echo Correct some hard sentence breaks. Only those surrounding the previous 1999-09-14 11:46:04 +00:00
ed Locale support was added by ache long ago. 2000-07-17 10:40:48 +00:00
expr Add overflow tests 2000-07-22 10:59:36 +00:00
hostname Mention the hostname variable in /etc/rc.conf since that is the most 1999-12-22 01:28:49 +00:00
kenv Initial kenv(1) hack for dumping the kernel environment. This can be 2000-07-08 08:33:40 +00:00
kill Correct some hard sentence breaks. Only those surrounding the previous 1999-09-14 11:46:04 +00:00
ln Don't explicitly declare optarg and optind. These are declared in 2000-08-16 05:14:49 +00:00
ls Un-deprecate the -G flag at obrien's request. Colour sequences are still 2000-08-13 12:17:03 +00:00
mkdir brucify and add comment about -v being non-standard to manpage 1999-09-04 03:19:38 +00:00
mv Don't emit a warning message if fchflags() returns EOPNOTSUPP 2000-07-20 18:30:00 +00:00
pax Don't explicitly declare optarg and optind. These are declared in 2000-08-16 05:14:49 +00:00
ps Fix the exit code for the case where nentries == 0; if a PID doesn't exist, 2000-07-08 05:13:10 +00:00
pwd Correct some hard sentence breaks. Only those surrounding the previous 1999-09-14 11:46:04 +00:00
rcp Use libcrypto inst=ead if libdes. 2000-02-24 21:21:15 +00:00
rm Switch over to using the new fflagstostr and strtofflags library calls. 2000-06-17 14:19:33 +00:00
rmail The rest of the changes needed to support the new version of sendmail (8.11.0). 2000-08-12 22:39:25 +00:00
rmdir Fix the rmdir -p a/b/c/ case, where rmdir -p a/b/c works, and rmdir c/ 2000-06-28 14:54:07 +00:00
sh From submitter: 2000-08-16 10:39:43 +00:00
sleep Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
stty Fix warn format 2000-04-30 17:12:49 +00:00
sync Update stale references to update(4) with references to the new 2000-07-19 07:39:08 +00:00
test Add support for 64bit integer comparisons. 2000-07-10 21:29:28 +00:00
Makefile Add a NO_TCSH knob. 2000-04-17 20:32:13 +00:00
Makefile.inc $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00