Date: Sat, 4 Apr 2009 19:06:52 +0000 (UTC) From: Stefan Farfeleder <stefanf@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/sh eval.c Message-ID: <200904041907.n34J76uc007432@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
stefanf 2009-04-04 19:06:52 UTC
FreeBSD src repository
Modified files:
bin/sh eval.c
Log:
SVN rev 190698 on 2009-04-04 19:06:52Z by stefanf
Don't let trailing empty lines overwrite the result of the last command with 0.
This affects the built-ins eval, fc, and trap and also the string passed to sh
with the -c option.
Submitted by: Jilles Tjoelker
Revision Changes Path
1.57 +2 -1 src/bin/sh/eval.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904041907.n34J76uc007432>
