NetBSD/bin/sh
kre f53fd6e91f Change the way the pipefail option works. Now it is the setting of
the option when a pipeline is created that controls the way the exit
status of the pipeline is calculated.  Previously it was the state of
the option when the exit status of the pipeline was collected.

This makes no difference at all for foreground pipelines (there is
no way to change the option between starting and completing the
pipeline) but it does for asynchronous (background) pipelines.

This was always the right way to implement it - it was originally
done the other way as I could not find any other shell implemented
this way - they all seemed to do it our previous way, and I could
not see a good reason to be the sole different shell.

However, now I know that ksh93 works as we will now work, and I
am told that if the option is added to the FreeBSD shell (apparently
the code exists, uncommitted) it will be the same.
2018-09-04 23:16:30 +00:00
..
bltin
funcs
USD.doc
alias.c
alias.h
arith_token.c
arith_tokens.h
arithmetic.c In uses like $(( var )) (un-dollared vars in arithmetic) we allow 2018-04-21 23:01:29 +00:00
arithmetic.h
builtins.def
cd.c
cd.h
error.c
error.h PR bin/48875 (is related, and ameliorated, but not exactly "fixed") 2018-08-19 23:50:27 +00:00
eval.c PR bin/53548 2018-08-25 02:42:49 +00:00
eval.h PR bin/48875 2018-08-19 11:16:13 +00:00
exec.c Fix several bugs in the command / type builtin ( including PR bin/48499 ) 2018-07-25 14:42:50 +00:00
exec.h Deal with ref after free found by ASAN when a function redefines 2018-06-22 11:04:55 +00:00
expand.c Part 2 of pattern matching (glob etc) fixes. 2018-07-22 23:07:48 +00:00
expand.h
histedit.c Remove atoi() 2018-07-13 22:43:44 +00:00
init.h
input.c PR bin/48875 (is related, and ameliorated, but not exactly "fixed") 2018-08-19 23:50:27 +00:00
input.h PR bin/48875 (is related, and ameliorated, but not exactly "fixed") 2018-08-19 23:50:27 +00:00
jobs.c Change the way the pipefail option works. Now it is the setting of 2018-09-04 23:16:30 +00:00
jobs.h Change the way the pipefail option works. Now it is the setting of 2018-09-04 23:16:30 +00:00
machdep.h
mail.c
mail.h
main.c Fix (hopefully) the problem reported on current-users by Patrick Welche. 2018-08-22 20:08:54 +00:00
main.h
Makefile use SUBDIR.roff suggested by uwe@ 2018-06-10 17:55:11 +00:00
memalloc.c Fix (hopefully) the problem reported on current-users by Patrick Welche. 2018-08-22 20:08:54 +00:00
memalloc.h Fix (hopefully) the problem reported on current-users by Patrick Welche. 2018-08-22 20:08:54 +00:00
miscbltin.c
miscbltin.h
mkbuiltins
mkinit.sh
mknodenames.sh In the older debug code (not using the new macros added in the 2018-08-18 03:09:37 +00:00
mknodes.sh Deal with ref after free found by ASAN when a function redefines 2018-06-22 11:04:55 +00:00
mkoptions.sh
mktokens
myhistedit.h
mystring.c Remove atoi() 2018-07-13 22:43:44 +00:00
mystring.h
nodes.c.pat Deal with ref after free found by ASAN when a function redefines 2018-06-22 11:04:55 +00:00
nodetypes
option.list
options.c Remove atoi() 2018-07-13 22:43:44 +00:00
options.h
output.c
output.h
parser.c PR bin/48875 (is related, and ameliorated, but not exactly "fixed") 2018-08-19 23:50:27 +00:00
parser.h
redir.c NFC: DEBUG (compile time) mode only change: 2018-08-13 22:13:02 +00:00
redir.h
sh.1 Change the way the pipefail option works. Now it is the setting of 2018-09-04 23:16:30 +00:00
shell.h DEBUG mode only change (ie: no effect to any normal shell). 2018-07-22 20:38:06 +00:00
show.c NFC: DEBUG mode only change. When tracing, show >&- as ">&-" 2018-08-19 10:47:45 +00:00
show.h
syntax.c First pass at fixing some of the more arcane pattern matching 2018-07-20 22:47:26 +00:00
syntax.h
TOUR
trap.c PR bin/48875 (is related, and ameliorated, but not exactly "fixed") 2018-08-19 23:50:27 +00:00
trap.h PR bin/48875 (is related, and ameliorated, but not exactly "fixed") 2018-08-19 23:50:27 +00:00
var.c Remove atoi() 2018-07-13 22:43:44 +00:00
var.h
version.h