>>>> "Nevin" == Nevin Kapur
<nevin(a)jhu.edu> writes:
Nevin> On trying to access a rather large IMAP hierarchy using
Nevin> Gnus, XEmacs invariably hangs while checking for new mail.
Nevin> The only way out is to kill the process.
Simon Josefsson reports a similar problem, probably the same cause.
Daiki Ueno sent a patch for 21.5 to address a hang on writing to a
process. Here's a version for 21.4. Please apply and let me know if
it helps. If you can get back to me in a day or so, it can go into
21.4.12.
This should apply to pretty much any XEmacs 21.4, not necessary to
update to 21.4.11, I believe.
Index: src/process-unix.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/process-unix.c,v
retrieving revision 1.20.2.5
diff -u -r1.20.2.5 process-unix.c
--- src/process-unix.c 31 Oct 2002 15:08:28 -0000 1.20.2.5
+++ src/process-unix.c 6 Jan 2003 13:05:24 -0000
@@ -892,6 +892,7 @@
#endif
set_descriptor_non_blocking (inchannel);
+ set_descriptor_non_blocking (outchannel);
/* Record this as an active process, with its channels.
As a result, child_setup will close Emacs's side of the pipes. */
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.