index
:
freebsd/src
lf/15.0
lf/dev/D50111
lf/dev/alc-msix
lf/dev/anycast-src
lf/dev/bridge
lf/dev/bridge-1q
lf/dev/bridge-inet6-params
lf/dev/bridge-pctrie
lf/dev/bridge-vlan
lf/dev/clang-scan-deps
lf/dev/const-cast
lf/dev/iputils
lf/dev/keyserv2
lf/dev/macdo
lf/dev/make_ether_addr
lf/dev/no_prefixaddr
lf/dev/pkgbase-armfix
lf/dev/pkgbase-bmake
lf/dev/pkgbase-cross-toolchain
lf/dev/pkgbase-uclall
lf/dev/rc.conf.d
lf/dev/routed
lf/dev/traceroute-merge
lf/dev/traceroute-patches
lf/dev/usrj
lf/dev/vlan_input_p
lf/main
lf/stable/15
main
stable/13
stable/14
FreeBSD src (LF version)
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
bin
/
sh
/
trap.c
Commit message (
Expand
)
Author
Age
Files
Lines
*
bin: Automated cleanup of cdefs and other formatting
Warner Losh
2023-11-26
1
-3
/
+0
*
bin: Remove ancient SCCS tags.
Warner Losh
2023-11-26
1
-3
/
+0
*
Remove $FreeBSD$: one-line .c pattern
Warner Losh
2023-08-16
1
-2
/
+0
*
sh: Avoid some headers when NO_HISTORY is set.
Bryan Drewery
2021-11-24
1
-0
/
+2
*
sh: implement persistent history storage
Baptiste Daroussin
2021-05-10
1
-0
/
+3
*
sh: fix debug build
Piotr Pawel Stefaniak
2021-04-11
1
-4
/
+0
*
sh: Keep ignored SIGINT/SIGQUIT after set in a background job
Jilles Tjoelker
2020-08-28
1
-2
/
+8
*
sh: Do not ignore INTOFF during a trap
Jilles Tjoelker
2020-07-09
1
-6
/
+1
*
General further adoption of SPDX licensing ID tags.
Pedro F. Giffuni
2017-11-20
1
-0
/
+2
*
sh: Enable interrupts before executing EXIT trap and doing final flush.
Jilles Tjoelker
2017-06-11
1
-0
/
+2
*
sh: Simplify setinteractive().
Jilles Tjoelker
2017-04-22
1
-7
/
+2
*
Renumber copyright clause 4
Warner Losh
2017-02-28
1
-1
/
+1
*
sh: Fix use-after-free if a trap replaces itself.
Jilles Tjoelker
2016-03-28
1
-1
/
+4
*
sh: Fix the trap builtin to be POSIX-compliant for 'trap exit SIG' and 'trap ...
Bryan Drewery
2015-04-18
1
-1
/
+1
*
sh: Abort a wait builtin on any trapped signal.
Jilles Tjoelker
2015-01-31
1
-1
/
+2
*
sh: Move some code from onint() to onsig(), making onint() noreturn.
Jilles Tjoelker
2014-12-21
1
-2
/
+10
*
sh: Eliminate some gotos.
Jilles Tjoelker
2014-10-05
1
-19
/
+16
*
sh: Remove SIGWINCH handler and just check for resize before every read.
Jilles Tjoelker
2014-01-14
1
-15
/
+0
*
sh: Allow trapping SIGINT/SIGQUIT after ignore because of '&'.
Jilles Tjoelker
2013-10-30
1
-1
/
+3
*
sh: Fix race condition with signals and wait or set -T.
Jilles Tjoelker
2013-09-02
1
-12
/
+4
*
sh: Remove #define MKINIT.
Jilles Tjoelker
2013-07-25
1
-1
/
+1
*
sh: Fix various compiler warnings.
Jilles Tjoelker
2013-04-01
1
-1
/
+1
*
sh: When executing a trap, keep exit status along with evalskip.
Jilles Tjoelker
2013-03-03
1
-2
/
+3
*
sh: If a SIGINT or SIGQUIT interrupts "wait", return status 128+sig.
Jilles Tjoelker
2013-02-23
1
-16
/
+19
*
sh: Fix EINTR race condition in "wait" and "set -T" using sigsuspend().
Jilles Tjoelker
2012-07-29
1
-0
/
+8
*
sh: Reset pendingsigs before checking pending traps, not after.
Jilles Tjoelker
2012-07-15
1
-1
/
+1
*
sh: Fix execution of multiple statements in a trap when evalskip is set
Jean-Sébastien Pédron
2012-01-16
1
-1
/
+32
*
sh: Fix out of bounds array access when trap is used with an invalid signal.
Jilles Tjoelker
2012-01-14
1
-2
/
+2
*
sh: Fix duplicate prototypes for builtins.
Jilles Tjoelker
2011-06-13
1
-0
/
+1
*
sh: Remove special code for shell scripts without magic number.
Jilles Tjoelker
2011-02-04
1
-16
/
+0
*
Make sys_signame upper case.
Jilles Tjoelker
2011-02-04
1
-3
/
+3
*
sh: If exit is used without args from a trap action, exit on the signal.
Jilles Tjoelker
2011-01-16
1
-4
/
+23
*
sh: Fix some things about -- in trap:
Jilles Tjoelker
2011-01-15
1
-11
/
+14
*
sh: Make 'trap -l' look like 'kill -l'.
Jilles Tjoelker
2011-01-14
1
-1
/
+1
*
sh: Make exit without parameters from EXIT trap POSIX-compliant.
Jilles Tjoelker
2011-01-08
1
-2
/
+16
*
sh: Add a function to print warnings (with command name and newline).
Jilles Tjoelker
2010-12-21
1
-1
/
+1
*
In the spirit of r90111, depend on c89 and remove the "STATIC" macro
David E. O'Brien
2010-10-13
1
-4
/
+4
*
Consistently use "STATIC" for all functions in order to be able to set
David E. O'Brien
2010-10-13
1
-4
/
+4
*
trap: do not consider a bad signal name a fatal error.
Jilles Tjoelker
2009-11-21
1
-3
/
+6
*
sh: Use sigaction instead of signal/siginterrupt combination.
Jilles Tjoelker
2009-11-11
1
-4
/
+6
*
Don't skip forking for an external command if any traps are active.
Jilles Tjoelker
2009-06-13
1
-0
/
+15
*
Fix the eval command in combination with set -e. Before this change the shell
Stefan Farfeleder
2009-05-31
1
-2
/
+2
*
Whitespace nits.
Jens Schweikhardt
2006-04-17
1
-4
/
+4
*
Correctly quote the output when showing the installed trap actions.
Stefan Farfeleder
2005-12-08
1
-6
/
+5
*
Various small code cleanups resulting from a code reviewing
Ralf S. Engelschall
2005-09-06
1
-1
/
+1
*
Remove clause 3 from the UCB licenses.
Mark Murray
2004-04-06
1
-4
/
+0
*
style(9): wrap at 80 columns.
Nate Lawson
2004-02-12
1
-3
/
+5
*
Handle proper formatting and a buffer overrun when running an old sh on
Nate Lawson
2004-02-12
1
-7
/
+28
*
Use sys_nsig instead of NSIG for the length of the signal arrays. This
Nate Lawson
2004-01-28
1
-4
/
+4
*
Avoid calling el_resize() from a signal handler, even though libedit
Tim J. Robbins
2002-07-24
1
-2
/
+3
[next]