Date: Sun, 31 May 2009 12:36:14 +0000 (UTC) From: Stefan Farfeleder <stefanf@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/sh eval.c eval.h histedit.c main.c trap.c Message-ID: <200905311236.n4VCaUxL061654@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
stefanf 2009-05-31 12:36:14 UTC
FreeBSD src repository
Modified files:
bin/sh eval.c eval.h histedit.c main.c trap.c
Log:
SVN rev 193169 on 2009-05-31 12:36:14Z by stefanf
Fix the eval command in combination with set -e. Before this change the shell
would always terminate if eval returned with a non-zero exit status regardless
if the status was actually tested. Unfortunately a new file-scope variable
is needed, the alternative would only be to add a new parameter to all
built-ins.
PR: 134881
Revision Changes Path
1.58 +5 -3 src/bin/sh/eval.c
1.12 +1 -1 src/bin/sh/eval.h
1.30 +2 -2 src/bin/sh/histedit.c
1.30 +1 -1 src/bin/sh/main.c
1.33 +2 -2 src/bin/sh/trap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905311236.n4VCaUxL061654>
