]> Savannah Git Hosting - gnulib.git/commit
fatal-signal: Remove dependency upon xalloc.
authorBruno Haible <bruno@clisp.org>
Mon, 22 Mar 2021 01:50:07 +0000 (02:50 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 22 Mar 2021 01:50:07 +0000 (02:50 +0100)
commit9ad38b46d9805cad071a4d7aaa370809eb2cee40
tree003204e07d12f5868a38ec66c3c0227e400215b0
parentea2ccc2e12f8e30f0f7e814b25cd5bc583f7c622
fatal-signal: Remove dependency upon xalloc.

* lib/fatal-signal.h (at_fatal_signal): Change return type to 'int'.
* lib/fatal-signal.c: Don't include xalloc.h.
(at_fatal_signal): Return an error indicator.
* modules/fatal-signal (Depends-on): Remove xalloc.
* NEWS: Mention the change.
* lib/term-style-control.c: Include xalloc.h.
(ensure_other_signal_handlers): Test return value of at_fatal_signal.
* lib/clean-temp.c (do_init_clean_temp): Likewise.
* lib/wait-process.c (register_slave_subprocess): Likewise.
* modules/term-style-control (Depends-on): Add xalloc-die.
* modules/clean-temp (Depends-on): Likewise.
* modules/wait-process (Depends-on): Likewise.
ChangeLog
NEWS
lib/clean-temp.c
lib/fatal-signal.c
lib/fatal-signal.h
lib/term-style-control.c
lib/wait-process.c
modules/clean-temp
modules/fatal-signal
modules/term-style-control
modules/wait-process