Date: Sat, 15 Jan 2011 21:09:00 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/sh trap.c src/tools/regression/bin/sh/builtins trap5.0 Message-ID: <201101152109.p0FL9sF1049871@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jilles 2011-01-15 21:09:00 UTC
FreeBSD src repository
Modified files:
bin/sh trap.c
Added files:
tools/regression/bin/sh/builtins trap5.0
Log:
SVN rev 217461 on 2011-01-15 21:09:00Z by jilles
sh: Fix some things about -- in trap:
* Make 'trap --' do the same as 'trap' instead of nothing.
* Make '--' stop option processing (note that '-' action is not an option).
Side effect: The error message for an unknown option is different.
Revision Changes Path
1.42 +14 -11 src/bin/sh/trap.c
1.1 +19 -0 src/tools/regression/bin/sh/builtins/trap5.0 (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101152109.p0FL9sF1049871>
