看板 DFBSD_commit 關於我們 聯絡資訊
commit 024481c1f7126a45bec71491e1287c2fff512050 Author: Peter Avalos <pavalos@dragonflybsd.org> Date: Sat Jul 2 14:07:08 2011 -1000 sh: Apply set -u to variables in arithmetic. Note that this only applies to variables that are actually used. Things like (0 && unsetvar) do not cause an error. Obtained-from: FreeBSD SVN rev 221463 Summary of changes: bin/sh/arith_yacc.c | 4 +++- tools/regression/bin/sh/expansion/set-u3.0 | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletions(-) create mode 100644 tools/regression/bin/sh/expansion/set-u3.0 http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/024481c1f7126a45bec71491e1287c2fff512050 -- DragonFly BSD source repository