diff options
author | Jan Klemkow <j.klemkow@wemelug.de> | 2020-04-30 00:10:02 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2020-04-30 01:21:21 +0200 |
commit | d6ea0a1a61853dd892029a7126e7fdb70c371878 (patch) | |
tree | 1f8c2881a9d6271fadd19f1ef36d1d0131f4e9de /util.c | |
parent | 43a395ae91f7d67ce694e65edeaa7bbc720dd027 (diff) |
replace exit(3) by _exit(2) in signal handler sigchld()
exit(3) is not async-signal-safe but, _exit(2) is.
This change prevents st to crash and dump core.
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions