public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "hunt at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sources.redhat.com
Subject: [Bug translator/5045] translator not cleaning up temporary directories
Date: Fri, 08 Feb 2008 17:03:00 -0000	[thread overview]
Message-ID: <20080208170252.25856.qmail@sourceware.org> (raw)
In-Reply-To: <20070919150951.5045.hunt@redhat.com>


------- 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.

  parent reply	other threads:[~2008-02-08 17:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-19 17:19 [Bug translator/5045] New: " hunt at redhat dot com
2008-02-08 16:04 ` [Bug translator/5045] " fche at redhat dot com
2008-02-08 16:15 ` hunt at redhat dot com
2008-02-08 16:25 ` fche at redhat dot com
2008-02-08 17:03 ` hunt at redhat dot com [this message]
2008-02-08 17:17 ` fche at redhat dot com
2008-02-08 17:44 ` hunt at redhat dot com
2008-02-28 22:01 ` fche at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080208170252.25856.qmail@sourceware.org \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).