Subject: CVS commit: [netbsd-1-5] basesrc/bin/sh
To: None <source-changes@netbsd.org>
From: Havard Eidnes <he@netbsd.org>
List: source-changes
Date: 02/23/2002 17:53:51
Module Name: basesrc
Committed By: he
Date: Sat Feb 23 15:53:50 UTC 2002
Modified Files:
basesrc/bin/sh [netbsd-1-5]: trap.c
Log Message:
Pull up revisions 1.25-1.26 (requested by jonb):
Extend functionality of the trap builtin, which now more closely
follows POSIX recommendations:
o accept signal names as well as signal numbers
o add ``-l'' option which outputs list of valid signals
o add signal EXIT to list of valid signals
o an ``-'' in the action part will reset signal to default behaviour
o changed standard output of ``trap'' to make it suitable as
subsequent input
Also various cleanups of redundant declarations and nested externs.
To generate a diff of this commit:
cvs rdiff -r1.24.4.2 -r1.24.4.3 basesrc/bin/sh/trap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.