diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-11-23 15:39:03 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-11-23 15:43:40 -0500 |
commit | aecdabb625841052a68fd3b5510c56b138693c9a (patch) | |
tree | 8aef3432abeb92ceb408eafd10d649ed39531b7e /src/color.h | |
parent | f7b813fdffb6c744cd443c6d5f81e6918b20f1ac (diff) | |
download | bfs-aecdabb625841052a68fd3b5510c56b138693c9a.tar.xz |
sighook: Return instead of re-raising for faults
This makes the death look exactly like it would if we didn't handle the
signal at all. Coredumps will point at the right instruction, segfaults
will get logged in dmesg again, etc.
Technically POSIX says this is undefined, but if we get a fault, we've
already done something undefined anyway ;)
Link: https://github.com/rust-lang/rust/issues/26458
Diffstat (limited to 'src/color.h')
0 files changed, 0 insertions, 0 deletions