Gunnar Evermann <ge204(a)eng.cam.ac.uk> writes:
Jan Vroonhof <vroonhof(a)math.ethz.ch> writes:
> Gunnar Evermann <ge204(a)eng.cam.ac.uk> writes:
>
> > * process.c (Fprocess_input_coding_system): check whether process
> > is still alive
>
> Approved. Recommened for 21.1.
I think we should still apply the above patch to 21.1.
[...]
1999-12-18 Gunnar Evermann <ge204(a)eng.cam.ac.uk>
* process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
instead of a Lisp_Object as argument to make it consistent with
the other LIVE_P macros.
(CHECK_LIVE_PROCESS): New macro.
* process.c: Declare Qprocess_live_p.
(Fprocess_live_p): New function.
(create_process): Use PROCESS_LIVE_P.
(read_process_output): Ditto.
(set_process_filter): Ditto.
(Fdelete_process): Ditto.
(kill_buffer_processes): Ditto
(Fprocess_input_coding_system): Check whether process is still
alive (fix PR#1061).
(Fprocess_output_coding_system): Ditto.
(Fprocess_coding_system): Ditto.
(Fset_process_input_coding_system): Ditto.
(Fset_process_output_coding_system): Ditto.
What's the status of this patch? AFAIK, it isn't applied to
21.2. I can easily crash XEmacs 21.2 with
(setq proc (start-process "ls" nil "ls"))
(process-coding-system proc)
or
(setq proc (start-process "shell" nil "sh"))
(delete-process proc)
(process-coding-system proc)
--
Yoshiki Hayashi