[A21.5] Reduce timeout in Faccept_process_output [was: XEmacs 21.5 doesn't like Python]
18 years, 9 months
Stephen J. Turnbull
APPROVE 21.5
Will commit in a few days if there is no objection.
Vin, I don't know about implications for 21.4; I'll try to remember to
check before I commit.
I'd especially like feedback from people on the Windows platform;
Adrian had some trouble which I don't know was ever identified with a
patch to similar code in lstream.c. The semantics of the patch were
quite different, but it makes me nervous. :-)
>>>>> "tbennett" == tbennett <tbennett(a)nvidia.com> writes:
tbennett> Maybe the following patch will help you. It makes
tbennett> running subprocesses (eg: man) much faster for me. This
tbennett> patch was in XEmacs 21.5 somewhere around 21.5.19 I
tbennett> think, but was reverted a few versions back for some
tbennett> reason.
As promised, Tony! Any objections or changes to the ChangeLog you'd
like to make? NB: I did change the comment to C style.
2006-03-24 Tony Bennett <tbennett(a)nvidia.com>
* process-unix.c (Faccept_process_output): Reduce timeout.
*** src/process-unix.c~ Sat Mar 1 02:25:36 2003
--- src/process-unix.c Mon Jul 12 22:00:37 2004
***************
*** 1530,1536 ****
/* Buffer is full. Wait, accepting input;
that may allow the program
to finish doing output and read more. */
! Faccept_process_output (Qnil, make_int (1), Qnil);
/* It could have *really* finished, deleting the process */
if (NILP(p->pipe_outstream))
return;
--- 1530,1537 ----
/* Buffer is full. Wait, accepting input;
that may allow the program
to finish doing output and read more. */
! /* Faccept_process_output (Qnil, make_int (1), Qnil); */
! Faccept_process_output (Qnil, Qnil, make_int (10));
/* It could have *really* finished, deleting the process */
if (NILP(p->pipe_outstream))
return;
--
School of Systems and Information Engineering 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.
[C] xemacsweb: Use /usr/bin/mhonarc to fix viscii-related crashes
18 years, 9 months
Adrian Aichner
COMMIT
I'm missing the patcher key mappings in my gnus message buffer, have
to use
M-x patcher-insert-change-logs
instead.
I finally found the root cause for
> From: Adrian Aichner <adrian(a)xemacs.org>
> Subject: xemacs-beta mail archives are not updating since Thu Mar 16 06:22:03 GMT 2006
> To: XEmacs Beta List <xemacs-beta(a)xemacs.org>
> Date: Sat, 25 Mar 2006 00:37:49 +0100
> Organization: The XEmacs Project
> Message-ID: <pskb76sy.fsf(a)smtprelay.t-online.de>
> Xref: TANG xemacs-beta:45580
I bet this is also the cause for left-behind .mhonarc.lck files.
It could even cause the long-running XEmacs archive indexing processes
tux.org admins have been experiencing.
Best regards,
Adrian
xemacsweb ChangeLog patch:
Diff command: cvs -q diff -U 0
Files affected: cgi-bin/.wilma/ChangeLog
Index: cgi-bin/.wilma/ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacsweb/cgi-bin/.wilma/ChangeLog,v
retrieving revision 1.2
diff -u -U0 -r1.2 ChangeLog
--- cgi-bin/.wilma/ChangeLog 27 Feb 2005 19:43:02 -0000 1.2
+++ cgi-bin/.wilma/ChangeLog 1 Apr 2006 15:43:46 -0000
@@ -0,0 +1,18 @@
+2006-04-01 Adrian Aichner <adrian(a)xemacs.org>
+
+ * xemacs-announce.cf: Use /usr/bin/mhonarc to fix viscii-related
+ crashes.
+ * xemacs-beta-ja.cf: Ditto.
+ * xemacs-beta.cf: Ditto.
+ * xemacs-binary-kits.cf: Ditto.
+ * xemacs-build-reports.cf: Ditto.
+ * xemacs-cvs.cf: Ditto.
+ * xemacs-design.cf: Ditto.
+ * xemacs-mule.cf: Ditto.
+ * xemacs-nt.cf: Ditto.
+ * xemacs-patches.cf: Ditto.
+ * xemacs-review.cf: Ditto.
+ * xemacs-users-ja.cf: Ditto.
+ * xemacs-users-ru.cf: Ditto.
+ * xemacs.cf: Ditto.
+
xemacsweb source patch:
Diff command: cvs -f -z3 -q diff -u -w -N
Files affected: cgi-bin/.wilma/xemacs.cf cgi-bin/.wilma/xemacs-users-ru.cf cgi-bin/.wilma/xemacs-users-ja.cf cgi-bin/.wilma/xemacs-review.cf cgi-bin/.wilma/xemacs-patches.cf cgi-bin/.wilma/xemacs-nt.cf cgi-bin/.wilma/xemacs-mule.cf cgi-bin/.wilma/xemacs-design.cf cgi-bin/.wilma/xemacs-cvs.cf cgi-bin/.wilma/xemacs-build-reports.cf cgi-bin/.wilma/xemacs-binary-kits.cf cgi-bin/.wilma/xemacs-beta.cf cgi-bin/.wilma/xemacs-beta-ja.cf cgi-bin/.wilma/xemacs-announce.cf
Index: cgi-bin/.wilma/xemacs-announce.cf
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacsweb/cgi-bin/.wilma/xemacs-announce.cf,v
retrieving revision 1.2
diff -u -w -r1.2 xemacs-announce.cf
--- cgi-bin/.wilma/xemacs-announce.cf 27 Feb 2005 19:43:02 -0000 1.2
+++ cgi-bin/.wilma/xemacs-announce.cf 1 Apr 2006 15:42:30 -0000
@@ -134,7 +134,7 @@
# [ wilma_reindex ]
# Path to mhonarc, which reformats archived mail in HTML.
-MHONARC = /web/http-xemacs/bin/MHonArc/bin/mhonarc
+MHONARC = /usr/bin/mhonarc
# [ wilma_reindex ]
# Name of the MHonArc rc file.
Index: cgi-bin/.wilma/xemacs-beta-ja.cf
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacsweb/cgi-bin/.wilma/xemacs-beta-ja.cf,v
retrieving revision 1.2
diff -u -w -r1.2 xemacs-beta-ja.cf
--- cgi-bin/.wilma/xemacs-beta-ja.cf 27 Feb 2005 19:43:02 -0000 1.2
+++ cgi-bin/.wilma/xemacs-beta-ja.cf 1 Apr 2006 15:42:30 -0000
@@ -134,7 +134,7 @@
# [ wilma_reindex ]
# Path to mhonarc, which reformats archived mail in HTML.
-MHONARC = /web/http-xemacs/bin/MHonArc/bin/mhonarc
+MHONARC = /usr/bin/mhonarc
# [ wilma_reindex ]
# Name of the MHonArc rc file.
Index: cgi-bin/.wilma/xemacs-beta.cf
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacsweb/cgi-bin/.wilma/xemacs-beta.cf,v
retrieving revision 1.2
diff -u -w -r1.2 xemacs-beta.cf
--- cgi-bin/.wilma/xemacs-beta.cf 27 Feb 2005 19:43:02 -0000 1.2
+++ cgi-bin/.wilma/xemacs-beta.cf 1 Apr 2006 15:42:30 -0000
@@ -134,7 +134,7 @@
# [ wilma_reindex ]
# Path to mhonarc, which reformats archived mail in HTML.
-MHONARC = /web/http-xemacs/bin/MHonArc/bin/mhonarc
+MHONARC = /usr/bin/mhonarc
# [ wilma_reindex ]
# Name of the MHonArc rc file.
Index: cgi-bin/.wilma/xemacs-binary-kits.cf
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacsweb/cgi-bin/.wilma/xemacs-binary-kits.cf,v
retrieving revision 1.2
diff -u -w -r1.2 xemacs-binary-kits.cf
--- cgi-bin/.wilma/xemacs-binary-kits.cf 27 Feb 2005 19:43:02 -0000 1.2
+++ cgi-bin/.wilma/xemacs-binary-kits.cf 1 Apr 2006 15:42:30 -0000
@@ -134,7 +134,7 @@
# [ wilma_reindex ]
# Path to mhonarc, which reformats archived mail in HTML.
-MHONARC = /web/http-xemacs/bin/MHonArc/bin/mhonarc
+MHONARC = /usr/bin/mhonarc
# [ wilma_reindex ]
# Name of the MHonArc rc file.
Index: cgi-bin/.wilma/xemacs-build-reports.cf
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacsweb/cgi-bin/.wilma/xemacs-build-reports.cf,v
retrieving revision 1.2
diff -u -w -r1.2 xemacs-build-reports.cf
--- cgi-bin/.wilma/xemacs-build-reports.cf 27 Feb 2005 19:43:02 -0000 1.2
+++ cgi-bin/.wilma/xemacs-build-reports.cf 1 Apr 2006 15:42:30 -0000
@@ -134,7 +134,7 @@
# [ wilma_reindex ]
# Path to mhonarc, which reformats archived mail in HTML.
-MHONARC = /web/http-xemacs/bin/MHonArc/bin/mhonarc
+MHONARC = /usr/bin/mhonarc
# [ wilma_reindex ]
# Name of the MHonArc rc file.
Index: cgi-bin/.wilma/xemacs-cvs.cf
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacsweb/cgi-bin/.wilma/xemacs-cvs.cf,v
retrieving revision 1.2
diff -u -w -r1.2 xemacs-cvs.cf
--- cgi-bin/.wilma/xemacs-cvs.cf 27 Feb 2005 19:43:02 -0000 1.2
+++ cgi-bin/.wilma/xemacs-cvs.cf 1 Apr 2006 15:42:30 -0000
@@ -134,7 +134,7 @@
# [ wilma_reindex ]
# Path to mhonarc, which reformats archived mail in HTML.
-MHONARC = /web/http-xemacs/bin/MHonArc/bin/mhonarc
+MHONARC = /usr/bin/mhonarc
# [ wilma_reindex ]
# Name of the MHonArc rc file.
Index: cgi-bin/.wilma/xemacs-design.cf
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacsweb/cgi-bin/.wilma/xemacs-design.cf,v
retrieving revision 1.2
diff -u -w -r1.2 xemacs-design.cf
--- cgi-bin/.wilma/xemacs-design.cf 27 Feb 2005 19:43:02 -0000 1.2
+++ cgi-bin/.wilma/xemacs-design.cf 1 Apr 2006 15:42:30 -0000
@@ -134,7 +134,7 @@
# [ wilma_reindex ]
# Path to mhonarc, which reformats archived mail in HTML.
-MHONARC = /web/http-xemacs/bin/MHonArc/bin/mhonarc
+MHONARC = /usr/bin/mhonarc
# [ wilma_reindex ]
# Name of the MHonArc rc file.
Index: cgi-bin/.wilma/xemacs-mule.cf
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacsweb/cgi-bin/.wilma/xemacs-mule.cf,v
retrieving revision 1.2
diff -u -w -r1.2 xemacs-mule.cf
--- cgi-bin/.wilma/xemacs-mule.cf 27 Feb 2005 19:43:02 -0000 1.2
+++ cgi-bin/.wilma/xemacs-mule.cf 1 Apr 2006 15:42:30 -0000
@@ -134,7 +134,7 @@
# [ wilma_reindex ]
# Path to mhonarc, which reformats archived mail in HTML.
-MHONARC = /web/http-xemacs/bin/MHonArc/bin/mhonarc
+MHONARC = /usr/bin/mhonarc
# [ wilma_reindex ]
# Name of the MHonArc rc file.
Index: cgi-bin/.wilma/xemacs-nt.cf
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacsweb/cgi-bin/.wilma/xemacs-nt.cf,v
retrieving revision 1.2
diff -u -w -r1.2 xemacs-nt.cf
--- cgi-bin/.wilma/xemacs-nt.cf 27 Feb 2005 19:43:02 -0000 1.2
+++ cgi-bin/.wilma/xemacs-nt.cf 1 Apr 2006 15:42:30 -0000
@@ -134,7 +134,7 @@
# [ wilma_reindex ]
# Path to mhonarc, which reformats archived mail in HTML.
-MHONARC = /web/http-xemacs/bin/MHonArc/bin/mhonarc
+MHONARC = /usr/bin/mhonarc
# [ wilma_reindex ]
# Name of the MHonArc rc file.
Index: cgi-bin/.wilma/xemacs-patches.cf
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacsweb/cgi-bin/.wilma/xemacs-patches.cf,v
retrieving revision 1.2
diff -u -w -r1.2 xemacs-patches.cf
--- cgi-bin/.wilma/xemacs-patches.cf 27 Feb 2005 19:43:02 -0000 1.2
+++ cgi-bin/.wilma/xemacs-patches.cf 1 Apr 2006 15:42:30 -0000
@@ -134,7 +134,7 @@
# [ wilma_reindex ]
# Path to mhonarc, which reformats archived mail in HTML.
-MHONARC = /web/http-xemacs/bin/MHonArc/bin/mhonarc
+MHONARC = /usr/bin/mhonarc
# [ wilma_reindex ]
# Name of the MHonArc rc file.
Index: cgi-bin/.wilma/xemacs-review.cf
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacsweb/cgi-bin/.wilma/xemacs-review.cf,v
retrieving revision 1.2
diff -u -w -r1.2 xemacs-review.cf
--- cgi-bin/.wilma/xemacs-review.cf 27 Feb 2005 19:43:02 -0000 1.2
+++ cgi-bin/.wilma/xemacs-review.cf 1 Apr 2006 15:42:30 -0000
@@ -134,7 +134,7 @@
# [ wilma_reindex ]
# Path to mhonarc, which reformats archived mail in HTML.
-MHONARC = /web/http-xemacs/bin/MHonArc/bin/mhonarc
+MHONARC = /usr/bin/mhonarc
# [ wilma_reindex ]
# Name of the MHonArc rc file.
Index: cgi-bin/.wilma/xemacs-users-ja.cf
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacsweb/cgi-bin/.wilma/xemacs-users-ja.cf,v
retrieving revision 1.2
diff -u -w -r1.2 xemacs-users-ja.cf
--- cgi-bin/.wilma/xemacs-users-ja.cf 27 Feb 2005 19:43:02 -0000 1.2
+++ cgi-bin/.wilma/xemacs-users-ja.cf 1 Apr 2006 15:42:30 -0000
@@ -134,7 +134,7 @@
# [ wilma_reindex ]
# Path to mhonarc, which reformats archived mail in HTML.
-MHONARC = /web/http-xemacs/bin/MHonArc/bin/mhonarc
+MHONARC = /usr/bin/mhonarc
# [ wilma_reindex ]
# Name of the MHonArc rc file.
Index: cgi-bin/.wilma/xemacs-users-ru.cf
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacsweb/cgi-bin/.wilma/xemacs-users-ru.cf,v
retrieving revision 1.2
diff -u -w -r1.2 xemacs-users-ru.cf
--- cgi-bin/.wilma/xemacs-users-ru.cf 27 Feb 2005 19:43:02 -0000 1.2
+++ cgi-bin/.wilma/xemacs-users-ru.cf 1 Apr 2006 15:42:30 -0000
@@ -134,7 +134,7 @@
# [ wilma_reindex ]
# Path to mhonarc, which reformats archived mail in HTML.
-MHONARC = /web/http-xemacs/bin/MHonArc/bin/mhonarc
+MHONARC = /usr/bin/mhonarc
# [ wilma_reindex ]
# Name of the MHonArc rc file.
Index: cgi-bin/.wilma/xemacs.cf
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacsweb/cgi-bin/.wilma/xemacs.cf,v
retrieving revision 1.2
diff -u -w -r1.2 xemacs.cf
--- cgi-bin/.wilma/xemacs.cf 27 Feb 2005 19:43:03 -0000 1.2
+++ cgi-bin/.wilma/xemacs.cf 1 Apr 2006 15:42:30 -0000
@@ -134,7 +134,7 @@
# [ wilma_reindex ]
# Path to mhonarc, which reformats archived mail in HTML.
-MHONARC = /web/http-xemacs/bin/MHonArc/bin/mhonarc
+MHONARC = /usr/bin/mhonarc
# [ wilma_reindex ]
# Name of the MHonArc rc file.
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org/