Date: Fri, 29 Oct 2010 21:06:57 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/sh parser.c src/tools/regression/bin/sh/errors bad-keyword1.0 Message-ID: <201010292107.o9TL7Vfh021569@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jilles 2010-10-29 21:06:57 UTC
FreeBSD src repository
Modified files:
bin/sh parser.c
Added files:
tools/regression/bin/sh/errors bad-keyword1.0
Log:
SVN rev 214531 on 2010-10-29 21:06:57Z by jilles
sh: Detect various additional errors in the parser.
Apart from detecting breakage earlier or at all, this also fixes a segfault
in the testsuite. The "handling" of the breakage left an invalid internal
representation in some cases.
Examples:
echo a; do echo b
echo `) echo a`
echo `date; do do do`
Exp-run done by: pav (with some other sh(1) changes)
Revision Changes Path
1.97 +3 -3 src/bin/sh/parser.c
1.1 +4 -0 src/tools/regression/bin/sh/errors/bad-keyword1.0 (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010292107.o9TL7Vfh021569>
