From: David Kastrup <dak@gnu.org>
Subject: Possible bug in xfns.c
Date: Sat, 26 Feb 2005 15:47:09 +0100 [thread overview]
Message-ID: <x5ekf3v0nm.fsf@lola.goethe.zz> (raw)
Throwing a signal restores interrupt_input_blocked to the state of the
recording of the stack frame. In xfns.c, line 5207, we have a
BLOCK_INPUT. In line 5283 we have
record_unwind_protect (clean_up_file_dialog, make_save_value (dialog, 0));
That means that clean_up_file_dialog will get called in case of an
abort, and x_file_dialog will return with the value of
interrupt_input_blocked increased by one as opposed to the time of the
call.
Shouldn't record_unwind_protect be enclosed with
UNBLOCK_INPUT/BLOCK_INPUT?
Note: I don't have much of a clue about the code, I am just trying to
dig for an abort. The above certainly is not involved in the abort,
but while I am at it...
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next reply other threads:[~2005-02-26 14:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-26 14:47 David Kastrup [this message]
2005-02-26 15:37 ` Possible bug in xfns.c Jan D.
2005-02-26 16:01 ` David Kastrup
2005-02-27 13:43 ` Richard Stallman
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=x5ekf3v0nm.fsf@lola.goethe.zz \
--to=dak@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.