[Bug translator/5045] translator not cleaning up temporary directories

hunt at redhat dot com sourceware-bugzilla@sourceware.org
Fri Feb 8 17:44:00 GMT 2008


------- Additional Comments From hunt at redhat dot com  2008-02-08 17:43 -------
(In reply to comment #5)

> But many functions cannot be legally called from signal handlers.
> exit() specifically is not listed: see
> http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html

_exit() is listed and the only difference between exit() and _exit() is that
exit() calls functions registered by atexit(). So as long as we keep that in
mind, we should be OK.  Or just do the cleanup (all necessary functions are in
the list) and call _exit(). 

There are, of course, other approaches. Your decision.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5045

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list