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:02:52 -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:02 -------
(In reply to comment #3)
> > What's wrong with using atexit()?
>
> atexit() is documented as being called during normal termination,
> not in response to signals.
A quick test shows it seems to work in response to normal termination signals.
Even if it didn't, it just takes a few lines of code to set up a handler that
calls exit(). Why would you need an "exit-soon" global in a bunch of loops? None
of that happens right now, just the default action (termination) in response to
^C. All we want to do is add some cleanup before that happens.
--
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.