From: sin Date: Tue, 11 Nov 2014 18:29:11 +0000 (+0000) Subject: Call _exit() instead of exit() if exec*() fails X-Git-Url: https://git.xinqibao.xyz/st.git/commitdiff_plain/4418939dd9f3a7b3cfd3071234ed18ae86538f2a?ds=sidebyside;hp=4418939dd9f3a7b3cfd3071234ed18ae86538f2a 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. ---