summaryrefslogtreecommitdiffstats
path: root/bin/sh/trap.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
* With these changes sh(1)'s trap command should be POSIX-compliant,steve1996-12-241-49/+107
* Merge in NetBSD mods and -Wall cleaning.steve1996-12-141-9/+9
* Merge of 4.4-Lite2 sh source, plus some gcc -Wall cleaning. This is apeter1996-09-011-29/+58
* Remove trailing whitespace.rgrimes1995-05-301-5/+5
* Added $Id$dg1994-09-241-0/+2
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+348
OpenPOWER on IntegriCloud