in/out descriptor is -1, do nothing.
+2003-02-20 Kenichi Handa <handa@m17n.org>
+
+ * process.c (setup_process_coding_systems): If the process's
+ in/out descriptor is -1, do nothing.
+
2003-02-19 Andreas Schwab <schwab@suse.de>
* lisp.h (Fcancel_kbd_macro_events, Fstring_to_multibyte): Add
int inch = XINT (p->infd);
int outch = XINT (p->outfd);
+ if (inch < 0 || outch < 0)
+ return;
+
if (!proc_decode_coding_system[inch])
proc_decode_coding_system[inch]
= (struct coding_system *) xmalloc (sizeof (struct coding_system));