[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#84: Acknowledgement (23.0.60; Occasional hangs in flyspell-mode and
From: |
Markus Triska |
Subject: |
bug#84: Acknowledgement (23.0.60; Occasional hangs in flyspell-mode and ispell-word) |
Date: |
Fri, 11 Jul 2008 01:01:15 +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);