Date: Wed, 4 May 2011 21:49:34 +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-parm-exp6.2 bad-parm-exp6.2.stderr Message-ID: <201105042150.p44LotVN049580@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jilles 2011-05-04 21:49:34 UTC
FreeBSD src repository
Modified files:
bin/sh parser.c
Added files:
tools/regression/bin/sh/errors bad-parm-exp6.2
bad-parm-exp6.2.stderr
Log:
SVN rev 221461 on 2011-05-04 21:49:34Z by jilles
sh: Detect an error for ${#var<GARBAGE>}.
In particular, this makes things like ${#foo[0]} and ${#foo[@]} errors
rather than silent equivalents of ${#foo}.
PR: bin/151720
Submitted by: Mark Johnston
Exp-run done by: pav (with some other sh(1) changes)
Revision Changes Path
1.108 +2 -0 src/bin/sh/parser.c
1.1 +2 -0 src/tools/regression/bin/sh/errors/bad-parm-exp6.2 (new)
1.1 +1 -0 src/tools/regression/bin/sh/errors/bad-parm-exp6.2.stderr (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105042150.p44LotVN049580>
