Date: Mon, 16 Aug 2010 17:18:08 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/tools/regression/bin/sh/builtins command3.0 command5.0 command6.0 src/tools/regression/bin/sh/execution func2.0 src/tools/regression/bin/sh/set-e elif1.0 elif2.0 if1.0 if3.0 while1.0 while2.0 Message-ID: <201008161718.o7GHIWR4065463@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jilles 2010-08-16 17:18:08 UTC FreeBSD src repository Modified files: tools/regression/bin/sh/builtins command3.0 command5.0 command6.0 tools/regression/bin/sh/execution func2.0 tools/regression/bin/sh/set-e elif1.0 elif2.0 if1.0 if3.0 while1.0 while2.0 Log: SVN rev 211399 on 2010-08-16 17:18:08Z by jilles sh: Get rid of unnecessary non-standard empty lists. POSIX does not allow constructs like: if cmd; then fi { } Add a colon dummy command, except in a test that verifies that such empty lists do not cause crashes when used as a function definition. Revision Changes Path 1.2 +1 -0 src/tools/regression/bin/sh/builtins/command3.0 1.2 +1 -0 src/tools/regression/bin/sh/builtins/command5.0 1.2 +1 -0 src/tools/regression/bin/sh/builtins/command6.0 1.2 +1 -0 src/tools/regression/bin/sh/execution/func2.0 1.2 +2 -0 src/tools/regression/bin/sh/set-e/elif1.0 1.2 +2 -0 src/tools/regression/bin/sh/set-e/elif2.0 1.2 +1 -0 src/tools/regression/bin/sh/set-e/if1.0 1.3 +1 -0 src/tools/regression/bin/sh/set-e/if3.0 1.2 +1 -0 src/tools/regression/bin/sh/set-e/while1.0 1.2 +1 -0 src/tools/regression/bin/sh/set-e/while2.0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008161718.o7GHIWR4065463>