This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/5045] translator not cleaning up temporary directories
- From: "hunt at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 8 Feb 2008 17:43:47 -0000
- Subject: [Bug translator/5045] translator not cleaning up temporary directories
- References: <20070919150951.5045.hunt@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.