NetBSD/bin
kre ff46268c6a PR bin/54743
If a builtin command or function is the final command intended to be
executed, and is interrupted by a caught signal, the trap handler for
that signal was not executed - the shell simply exited (an exit trap
handler would still have been run - if there was one the handler
for the signal may have been invoked during the execution of the
exit trap handler, which, if it happened, is incorrect sequencing).

Now, if we're exiting, and there are pending signals, run their handlers
just before running the EXIT trap handler, if any.

There are almost certainly plenty more issues with traps that need
solving.   Later,

XXX pullup -9

(-8 is too different in this area, and this problem suitably obscure,
that we won't bother)     (the -7 sh is simply obsolete).
2019-12-09 00:14:30 +00:00
..
cat
chio
chmod
cp PR/54564: Jan Schaumann: cp of a fifo yields an empty file 2019-09-23 18:01:09 +00:00
csh compare pointers with NULL not '\0'. 2019-02-01 08:29:03 +00:00
date
dd copy libc's swab.c into dd as dd_swab(), and remove the restrict. 2019-10-04 08:57:37 +00:00
df we don't need root anymore. 2019-09-23 15:24:44 +00:00
domainname
echo
ed Unifdef compatibility for broken realloc. 2019-01-04 19:13:58 +00:00
expr
hostname
kill Reverse a decision made when the printsignals() routines from 2018-12-12 20:22:43 +00:00
ksh Avoid arithmetics on strings. 2019-10-29 16:19:59 +00:00
ln
ls
mkdir
mt
mv
pax introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
ps ps(1): Guard freeing the memory of pinfo with __NO_LEAKS. 2019-09-15 15:27:50 +00:00
pwd
rcmd
rcp
rm
rmdir
sh PR bin/54743 2019-12-09 00:14:30 +00:00
sleep Deal with overflow when the sleep duration given is a simple 2019-03-10 15:18:45 +00:00
stty Don't fail when the line discipline ioctl fails (since it secondary 2019-09-06 16:28:53 +00:00
sync
test
Makefile
Makefile.inc