do not refer to _exit. For some machines, it does not exist
This commit is contained in:
parent
15e885ac8d
commit
ef6f9168c4
|
@ -93,7 +93,7 @@ catch(trapno)
|
|||
signal(__signo, SIG_DFL);
|
||||
_cleanup();
|
||||
kill(getpid(), __signo);
|
||||
_exit(trapno);
|
||||
exit(trapno);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -20,6 +20,7 @@ _cleanup()
|
|||
for (i = 0; i < callindex; i++) {
|
||||
(*proclist[i])();
|
||||
}
|
||||
callindex = 0;
|
||||
}
|
||||
|
||||
CallAtEnd(p)
|
||||
|
|
Loading…
Reference in a new issue