do not refer to _exit. For some machines, it does not exist

This commit is contained in:
ceriel 1988-11-07 10:25:45 +00:00
parent 15e885ac8d
commit ef6f9168c4
2 changed files with 2 additions and 1 deletions

View file

@ -93,7 +93,7 @@ catch(trapno)
signal(__signo, SIG_DFL);
_cleanup();
kill(getpid(), __signo);
_exit(trapno);
exit(trapno);
}
#endif
#endif

View file

@ -20,6 +20,7 @@ _cleanup()
for (i = 0; i < callindex; i++) {
(*proclist[i])();
}
callindex = 0;
}
CallAtEnd(p)