Files
fish-shell/tests/pexpects
Yakov Till b99ae291d6 Save history on SIGTERM and SIGHUP before exit
Previously, SIGTERM immediately re-raised with SIG_DFL, killing
fish without saving history. SIGHUP deferred via a flag but never
re-raised, so the parent saw a normal exit instead of signal death.

Unify both signals: the handler stores the signal number in a single
AtomicI32, the reader loop exits normally, throwing_main() saves
history and re-raises with SIG_DFL so the parent sees WIFSIGNALED.

Fixes #10300

Closes #12615
2026-04-11 18:06:02 +08:00
..
2025-11-06 13:02:23 +01:00
2025-01-26 20:30:48 -08:00
2025-02-12 22:59:27 +08:00
2025-02-12 22:59:27 +08:00
2020-11-22 14:39:48 +01:00
2025-02-12 22:59:27 +08:00
2025-02-12 22:59:27 +08:00
2025-02-12 22:59:27 +08:00