]> Savannah Git Hosting - gnulib.git/commit
fatal-signal: Pass the signal number to the action.
authorBruno Haible <bruno@clisp.org>
Sat, 16 Mar 2019 21:56:21 +0000 (22:56 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 16 Mar 2019 21:56:21 +0000 (22:56 +0100)
commit3cd207e1d0fd2df81cb276ccb4bb04bab86ce9f0
tree65bab37fb921841e6b22c228962e08dc9156bbad
parenteac483310026d1e242989fc8a306e3db5d63efee
fatal-signal: Pass the signal number to the action.

* lib/fatal-signal.h (at_fatal_signal): Change the signature.
* lib/fatal-signal.c (action_t): Take the signal number as parameter.
(fatal_signal_handler): Pass the signal number to the action.
* lib/clean-temp.c (cleanup_action): Renamed from cleanup. Take the
signal number as parameter.
(create_temp_dir): Update.
* lib/wait-process.c (cleanup_slaves_action): New function.
(register_slave_subprocess): Update at_fatal_signal invocation.
* NEWS: Mention the change.
ChangeLog
NEWS
lib/clean-temp.c
lib/fatal-signal.c
lib/fatal-signal.h
lib/wait-process.c