all repos — st @ 4418939dd9f3a7b3cfd3071234ed18ae86538f2a

st (suckless terminal) config

Call _exit() instead of exit() if exec*() fails

exit() will also unwind the atexit() functions.  This is bad
because if exec*() fails the process is in an inconsistent state.
sin sin@2f30.org
commit

4418939dd9f3a7b3cfd3071234ed18ae86538f2a

parent

bafbba56cd5735c680676db2adf6f614ba61356f

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M st.cst.c

@@ -1190,7 +1190,7 @@ signal(SIGTERM, SIG_DFL);

signal(SIGALRM, SIG_DFL); execvp(prog, args); - exit(EXIT_FAILURE); + _exit(EXIT_FAILURE); } void