emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 23.0.50; ^D inserted into network streams


From: YAMAMOTO Mitsuharu
Subject: Re: 23.0.50; ^D inserted into network streams
Date: Mon, 24 Dec 2007 14:56:12 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Mon, 03 Dec 2007 01:10:56 -0500, Richard Stallman <address@hidden> 
>>>>> said:

> I think this is a feature that was designed to get out of a state
> where a subprocess is waiting for a line of input and the kernel
> won't give it any input until it gets a whole line from Emacs.

> I do not know if that problem can still occur in modern systems.

> Your patch looks correct to me.  I installed it in Emacs 22.
> Thanks.

I've just changed the initialization value from 0 to Qnil in the
EMACS_22_BASE branch, because the `pty_flag' member in Emacs 22 is not
a bit field as in Emacs 23, but a Lisp object.

Miles, please do not propagate the following change to the trunk at
the merger next time.

                                     YAMAMOTO Mitsuharu
                                address@hidden

--- process.c   2007/12/03 00:40:41     1.512.2.8
+++ process.c   2007/12/24 05:25:42     1.512.2.9
@@ -626,7 +626,7 @@
   XSETFASTINT (p->tick, 0);
   XSETFASTINT (p->update_tick, 0);
   p->pid = 0;
-  p->pty_flag = 0;
+  p->pty_flag = Qnil;
   p->raw_status_new = 0;
   p->status = Qrun;
   p->mark = Fmake_marker ();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]