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.