comparison src/process.c @ 5239:f12fe7f21c2d

(deactivate_process) [SVR4_PTYS]: If subtty is not nil, close it.
author Richard M. Stallman <rms@gnu.org>
date Thu, 23 Dec 1993 01:22:23 +0000
parents 31874690939f
children eed870591987
comparison
equal deleted inserted replaced
5238:63932e111cc5 5239:f12fe7f21c2d
1522 } 1522 }
1523 #else 1523 #else
1524 close (inchannel); 1524 close (inchannel);
1525 if (outchannel >= 0 && outchannel != inchannel) 1525 if (outchannel >= 0 && outchannel != inchannel)
1526 close (outchannel); 1526 close (outchannel);
1527 #ifdef SYSV4_PTYS
1528 if (!NILP (p->subtty))
1529 close (XINT (p->subtty));
1530 #endif
1527 #endif 1531 #endif
1528 1532
1529 XSET (p->infd, Lisp_Int, -1); 1533 XSET (p->infd, Lisp_Int, -1);
1530 XSET (p->outfd, Lisp_Int, -1); 1534 XSET (p->outfd, Lisp_Int, -1);
1531 chan_process[inchannel] = Qnil; 1535 chan_process[inchannel] = Qnil;