Date: Sat, 8 Jan 2011 23:08:13 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/sh main.c trap.c trap.h src/tools/regression/bin/sh/builtins exit3.0 Message-ID: <201101082311.p08NBCSd004574@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jilles 2011-01-08 23:08:13 UTC FreeBSD src repository Modified files: bin/sh main.c trap.c trap.h Added files: tools/regression/bin/sh/builtins exit3.0 Log: SVN rev 217175 on 2011-01-08 23:08:13Z by jilles sh: Make exit without parameters from EXIT trap POSIX-compliant. It should use the original exit status, just like falling off the end of the trap handler. Outside an EXIT trap, 'exit' is still equivalent to 'exit $?'. Revision Changes Path 1.43 +2 -5 src/bin/sh/main.c 1.40 +16 -2 src/bin/sh/trap.c 1.15 +1 -0 src/bin/sh/trap.h 1.1 +5 -0 src/tools/regression/bin/sh/builtins/exit3.0 (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101082311.p08NBCSd004574>