Date: Fri, 1 Jan 2010 18:17:46 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/sh error.c eval.c exec.c expand.c output.h parser.c src/tools/regression/bin/sh/expansion cmdsubst1.0 Message-ID: <201001011821.o01IL5Lc009163@repoman.freebsd.org>
index | next in thread | raw e-mail
jilles 2010-01-01 18:17:46 UTC
FreeBSD src repository
Modified files:
bin/sh error.c eval.c exec.c expand.c output.h
parser.c
Added files:
tools/regression/bin/sh/expansion cmdsubst1.0
Log:
SVN rev 201366 on 2010-01-01 18:17:46Z by jilles
sh: Fix some bugs with backquoted builtins:
- correctly handle error output in $(builtin 2>&1), clarify out1/out2 vs
output/errout in the code
- treat all builtins as regular builtins so errors do not abort the shell
and variable assignments do not persist
- respect the caller's INTOFF
Some bugs still exist:
- expansion errors may still abort the shell
- some side effects of expansions and builtins persist
Revision Changes Path
1.29 +2 -2 src/bin/sh/error.c
1.74 +12 -11 src/bin/sh/eval.c
1.42 +1 -1 src/bin/sh/exec.c
1.60 +1 -1 src/bin/sh/expand.c
1.17 +5 -4 src/bin/sh/output.h
1.72 +2 -2 src/bin/sh/parser.c
1.1 +48 -0 src/tools/regression/bin/sh/expansion/cmdsubst1.0 (new)
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001011821.o01IL5Lc009163>
