unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Markus Triska <markus.triska@gmx.at>
To: 84@emacsbugs.donarmstrong.com
Subject: bug#84: Acknowledgement (23.0.60; Occasional hangs in  flyspell-mode and ispell-word)
Date: Fri, 11 Jul 2008 01:01:15 +0200	[thread overview]
Message-ID: <m1iqvds5s4.fsf@gmx.at> (raw)
In-Reply-To: <m1d4lnidlx.fsf@pnsgw1-client009.demo.tuwien.ac.at> (Markus Triska's message of "Wed, 09 Jul 2008 11:57:46 +0200")

The following patch fixes the problem for me:


2008-07-10  Markus Triska  <markus.triska@gmx.at>

        * process.c (wait_reading_process_output): handle EBADF


diff --git a/src/process.c b/src/process.c
index e8d0090..0cf04bc 100644
--- a/src/process.c
+++ b/src/process.c
@@ -4791,6 +4791,10 @@ wait_reading_process_output (time_limit, microsecs, read_kbd, do_display,
 	      else if (nread == -1 && EWOULDBLOCK == errno)
                 break;
 #endif
+#ifdef EBADF
+	      else if (nread == -1 && EBADF == errno)
+		break;
+#endif
 	    }
 	  if (total_nread > 0 && do_display)
 	    redisplay_preserve_echo_area (10);






  reply	other threads:[~2008-07-10 23:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20080327052040.002826434E0@mt-computer.local>
     [not found] ` <handler.84.B.120662569622724.ack@emacsbugs.donarmstrong.com>
2008-07-08 13:25   ` bug#84: Acknowledgement (23.0.60; Occasional hangs in flyspell-mode and ispell-word) Markus Triska
2008-07-08 18:24     ` Markus Triska
2008-07-09  9:57       ` Markus Triska
2008-07-10 23:01         ` Markus Triska [this message]
2008-07-12 15:56           ` Markus Triska

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m1iqvds5s4.fsf@gmx.at \
    --to=markus.triska@gmx.at \
    --cc=84@emacsbugs.donarmstrong.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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