Commit 53b6ab28 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(deactivate_process) [SVR4_PTYS]: If subtty is not nil, close it.

parent 6a9ee000
......@@ -1524,6 +1524,10 @@ deactivate_process (proc)
close (inchannel);
if (outchannel >= 0 && outchannel != inchannel)
close (outchannel);
#ifdef SYSV4_PTYS
if (!NILP (p->subtty))
close (XINT (p->subtty));
XSET (p->infd, Lisp_Int, -1);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment