Mercurial > emacs
diff 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 |
line wrap: on
line diff
--- a/src/process.c Thu Dec 23 01:20:50 1993 +0000 +++ b/src/process.c Thu Dec 23 01:22:23 1993 +0000 @@ -1524,6 +1524,10 @@ close (inchannel); if (outchannel >= 0 && outchannel != inchannel) close (outchannel); +#ifdef SYSV4_PTYS + if (!NILP (p->subtty)) + close (XINT (p->subtty)); +#endif #endif XSET (p->infd, Lisp_Int, -1);
