fish-shell/src
ridiculousfish fa837a2e4a Prevent crash when reaping jobs in exit handlers
If an interactive job is started, and it is reaped within fish's
exit handler, we may attempt to print its status message after
cur_term has been set to NULL. This results in a crash.

This change makes fish only print the status message if cur_term is
not NULL.

Fixes #3222
2016-09-09 13:13:45 -07:00
..
autoload.cpp simplify oclint error suppression for scoped_lock 2016-07-20 22:30:58 -07:00
autoload.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
builtin.cpp revert the --shadow-builtin flag 2016-08-24 22:56:19 -07:00
builtin.h HeaderDoc code documentation improvements 2016-08-16 18:00:07 -07:00
builtin_commandline.cpp simplify oclint error suppression for scoped_lock 2016-07-20 22:30:58 -07:00
builtin_commandline.h restyle builtin modules to match project style 2016-04-26 21:58:59 -07:00
builtin_complete.cpp make kill/pkill completions more robust (#3200) 2016-07-07 18:44:35 -07:00
builtin_complete.h restyle builtin modules to match project style 2016-04-26 21:58:59 -07:00
builtin_jobs.cpp Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
builtin_jobs.h restyle builtin modules to match project style 2016-04-26 21:58:59 -07:00
builtin_printf.cpp fix raw_string_to_scalar_type locale handling 2016-09-02 18:48:16 -07:00
builtin_printf.h restyle builtin modules to match project style 2016-04-26 21:58:59 -07:00
builtin_set.cpp Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
builtin_set.h restyle builtin modules to match project style 2016-04-26 21:58:59 -07:00
builtin_set_color.cpp Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
builtin_set_color.h restyle builtin modules to match project style 2016-04-26 21:58:59 -07:00
builtin_string.cpp Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
builtin_string.h restyle builtin modules to match project style 2016-04-26 21:58:59 -07:00
builtin_test.cpp Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
builtin_test.h restyle builtin modules to match project style 2016-04-26 21:58:59 -07:00
builtin_ulimit.cpp add (or restore) config.h to all files 2016-05-18 22:30:21 +00:00
builtin_ulimit.h restyle builtin modules to match project style 2016-04-26 21:58:59 -07:00
color.cpp add (or restore) config.h to all files 2016-05-18 22:30:21 +00:00
color.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
common.cpp Fix two things -Wconditional-uninitialized warned about 2016-07-30 03:34:46 -07:00
common.h kill CAST_INIT, use reinterpret_cast<> on sockaddr 2016-07-30 13:10:25 -07:00
complete.cpp Some doc omissions in complete.cpp 2016-08-16 18:43:00 -07:00
complete.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
env.cpp Ensure we continue to cover enums in switches 2016-07-30 13:10:21 -07:00
env.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
env_universal_common.cpp env_universal_common: drop MAP_FILE flag 2016-08-30 21:43:25 +08:00
env_universal_common.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
event.cpp Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
event.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
exec.cpp revert the --shadow-builtin flag 2016-08-24 22:56:19 -07:00
exec.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
expand.cpp HeaderDoc code documentation improvements 2016-08-16 18:00:07 -07:00
expand.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
fallback.cpp remove dependency on dcgettext() 2016-06-05 18:52:19 -07:00
fallback.h remove dependency on dcgettext() 2016-06-05 18:52:19 -07:00
fish.cpp remove diagnostic no one likes 2016-07-28 16:15:58 -07:00
fish_indent.cpp fish_indent --dump should deal with invalid code 2016-07-15 19:45:54 -07:00
fish_key_reader.cpp fix handling input in the C locale 2016-08-12 20:33:43 -07:00
fish_tests.cpp fix some style problems that have crept in 2016-07-21 19:36:32 -07:00
fish_version.cpp restyle fish modules to match project style 2016-04-30 19:52:13 -07:00
fish_version.h restyle fish modules to match project style 2016-04-30 19:52:13 -07:00
function.cpp revert the --shadow-builtin flag 2016-08-24 22:56:19 -07:00
function.h revert the --shadow-builtin flag 2016-08-24 22:56:19 -07:00
highlight.cpp fix random lint issues 2016-05-29 22:24:29 -07:00
highlight.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
history.cpp Use %Y-%m-%d %H:%M:%S format, update tests 2016-09-07 07:52:45 -07:00
history.h fix history --delete regression 2016-08-10 21:51:01 -07:00
input.cpp Only set bind mode if it changed 2016-09-05 00:58:52 +02:00
input.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
input_common.cpp fix handling input in the C locale 2016-08-12 20:33:43 -07:00
input_common.h fix handling input in the C locale 2016-08-12 20:33:43 -07:00
intern.cpp simplify oclint error suppression for scoped_lock 2016-07-20 22:30:58 -07:00
intern.h restyle intern module to match project style 2016-05-01 20:28:46 -07:00
io.cpp add (or restore) config.h to all files 2016-05-18 22:30:21 +00:00
io.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
iothread.cpp simplify oclint error suppression for scoped_lock 2016-07-20 22:30:58 -07:00
iothread.h restyle iothread module to match project style 2016-05-01 21:54:54 -07:00
kill.cpp fix random lint issues 2016-05-29 22:24:29 -07:00
kill.h restyle kill module to match project style 2016-05-01 22:18:59 -07:00
lru.h restyle pager & lru module to match project style 2016-05-02 12:11:57 -07:00
output.cpp Check max_colors with rest of checks in input.cpp. 2016-07-19 08:02:00 -07:00
output.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
pager.cpp Ensure we continue to cover enums in switches 2016-07-30 13:10:21 -07:00
pager.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
parse_constants.h Restyle touched .cpp files 2016-06-12 11:34:35 -07:00
parse_execution.cpp don't print internal token in error message 2016-07-10 20:02:39 -07:00
parse_execution.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
parse_productions.cpp add (or restore) config.h to all files 2016-05-18 22:30:21 +00:00
parse_productions.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
parse_tree.cpp Rename things to avoid conflicts with headers 2016-07-01 02:48:50 -07:00
parse_tree.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
parse_util.cpp Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
parse_util.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
parser.cpp Ensure we continue to cover enums in switches 2016-07-30 13:10:21 -07:00
parser.h Ensure we continue to cover enums in switches 2016-07-30 13:10:21 -07:00
parser_keywords.cpp fix some style bogosities that crept in 2016-05-27 14:44:30 -07:00
parser_keywords.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
path.cpp add (or restore) config.h to all files 2016-05-18 22:30:21 +00:00
path.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
postfork.cpp kill CAST_INIT, use reinterpret_cast<> on sockaddr 2016-07-30 13:10:25 -07:00
postfork.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
print_help.cpp add (or restore) config.h to all files 2016-05-18 22:30:21 +00:00
print_help.h restyle proc module to match project style 2016-05-02 22:07:58 -07:00
proc.cpp Prevent crash when reaping jobs in exit handlers 2016-09-09 13:13:45 -07:00
proc.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
reader.cpp fix handling input in the C locale 2016-08-12 20:33:43 -07:00
reader.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
sanity.cpp add (or restore) config.h to all files 2016-05-18 22:30:21 +00:00
sanity.h restyle sanity & screen module to match project style 2016-05-03 12:53:54 -07:00
screen.cpp HeaderDoc code documentation improvements 2016-08-16 18:00:07 -07:00
screen.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
signal.cpp Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
signal.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
tokenizer.cpp Ensure we continue to cover enums in switches 2016-07-30 13:10:21 -07:00
tokenizer.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
utf8.cpp Fix wide char related tests on Cygwin 2016-05-26 20:24:03 -07:00
utf8.h Fix wide char related tests on Cygwin 2016-05-26 20:24:03 -07:00
util.cpp fix random lint issues 2016-05-29 22:24:29 -07:00
util.h restyle remaining modules to match project style 2016-05-03 16:09:45 -07:00
wcstringutil.cpp fix some style bogosities that crept in 2016-05-27 14:44:30 -07:00
wcstringutil.h Be a bit more consistent and proper. 2016-06-05 21:32:57 -07:00
wgetopt.cpp fix lint error in wgettext() 2016-06-01 22:19:03 -07:00
wgetopt.h Restyle touched .cpp files 2016-06-12 11:34:35 -07:00
wildcard.cpp fix some style problems that have crept in 2016-07-21 19:36:32 -07:00
wildcard.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
wutil.cpp simplify oclint error suppression for scoped_lock 2016-07-20 22:30:58 -07:00
wutil.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00