summaryrefslogtreecommitdiffstats
path: root/bin/sh/trap.c
Commit message (Expand)AuthorAgeFilesLines
* MFC r272575: sh: Eliminate some gotos.jilles2015-09-131-19/+16
* Sync sh(1) in stable/10 to head.jmmv2014-03-091-16/+3
* sh: Fix race condition with signals and wait or set -T.jilles2013-09-021-12/+4
* sh: Remove #define MKINIT.jilles2013-07-251-1/+1
* sh: Fix various compiler warnings.jilles2013-04-011-1/+1
* sh: When executing a trap, keep exit status along with evalskip.jilles2013-03-031-2/+3
* sh: If a SIGINT or SIGQUIT interrupts "wait", return status 128+sig.jilles2013-02-231-16/+19
* sh: Fix EINTR race condition in "wait" and "set -T" using sigsuspend().jilles2012-07-291-0/+8
* sh: Reset pendingsigs before checking pending traps, not after.jilles2012-07-151-1/+1
* sh: Fix execution of multiple statements in a trap when evalskip is setdumbbell2012-01-161-1/+32
* sh: Fix out of bounds array access when trap is used with an invalid signal.jilles2012-01-141-2/+2
* sh: Fix duplicate prototypes for builtins.jilles2011-06-131-0/+1
* sh: Remove special code for shell scripts without magic number.jilles2011-02-041-16/+0
* Make sys_signame upper case.jilles2011-02-041-3/+3
* sh: If exit is used without args from a trap action, exit on the signal.jilles2011-01-161-4/+23
* sh: Fix some things about -- in trap:jilles2011-01-151-11/+14
* sh: Make 'trap -l' look like 'kill -l'.jilles2011-01-141-1/+1
* sh: Make exit without parameters from EXIT trap POSIX-compliant.jilles2011-01-081-2/+16
* sh: Add a function to print warnings (with command name and newline).jilles2010-12-211-1/+1
* In the spirit of r90111, depend on c89 and remove the "STATIC" macroobrien2010-10-131-4/+4
* Consistently use "STATIC" for all functions in order to be able to setobrien2010-10-131-4/+4
* trap: do not consider a bad signal name a fatal error.jilles2009-11-211-3/+6
* sh: Use sigaction instead of signal/siginterrupt combination.jilles2009-11-111-4/+6
* Don't skip forking for an external command if any traps are active.jilles2009-06-131-0/+15
* Fix the eval command in combination with set -e. Before this change the shellstefanf2009-05-311-2/+2
* Whitespace nits.schweikh2006-04-171-4/+4
* Correctly quote the output when showing the installed trap actions.stefanf2005-12-081-6/+5
* Various small code cleanups resulting from a code reviewingrse2005-09-061-1/+1
* Remove clause 3 from the UCB licenses.markm2004-04-061-4/+0
* style(9): wrap at 80 columns.njl2004-02-121-3/+5
* Handle proper formatting and a buffer overrun when running an old sh onnjl2004-02-121-7/+28
* Use sys_nsig instead of NSIG for the length of the signal arrays. Thisnjl2004-01-281-4/+4
* Avoid calling el_resize() from a signal handler, even though libedittjr2002-07-241-2/+3
* Catch SIGWINCH in interactive shells and call el_resize() to updatetjr2002-07-231-0/+15
* Remove broken and incomplete support for old releases of System V,tjr2002-07-191-5/+0
* Consistently use FBSDIDobrien2002-06-301-2/+2
* o __P has been reovedimp2002-02-021-22/+12
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
* Various spelling/formatting changes.kris1999-05-081-2/+2
* The immediate execution of traps I introduced in September 1998 (tocracauer1999-04-011-2/+3
* Narrow down conditions to break wait() to process traps.cracauer1998-09-101-3/+4
* Fix an inefficiency I introduced in my last commit.cracauer1998-09-101-9/+4
* If traps are set, they are now executed even when a signal-blockingcracauer1998-09-081-5/+18
* Improve bookkeeping of in_waitcmd and style fixes.cracauer1998-08-251-2/+2
* Re-enable killing childs with SIGQUIT. Spotted by Bruce Evans.cracauer1998-08-251-2/+2
* Do not exit on SIGINT in non-interactive shells, fixes PR 1206,cracauer1998-08-241-10/+18
* Add rcsid. Spelling.charnier1998-05-181-3/+5
* Fixed some type and value mismatches. setsignal() returned a boguslybde1997-11-101-10/+9
* 1) Fix longstanding bug:ache1997-11-051-3/+10
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
OpenPOWER on IntegriCloud