qemacs-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemacs-commit] qemacs shell.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs shell.c
Date: Tue, 04 Mar 2014 00:36:58 +0000

CVSROOT:        /sources/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        14/03/04 00:36:58

Modified files:
        .              : shell.c 

Log message:
        fix missing close on pseudo tty

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/shell.c?cvsroot=qemacs&r1=1.86&r2=1.87

Patches:
Index: shell.c
===================================================================
RCS file: /sources/qemacs/qemacs/shell.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -b -r1.86 -r1.87
--- shell.c     3 Mar 2014 23:35:47 -0000       1.86
+++ shell.c     4 Mar 2014 00:36:58 -0000       1.87
@@ -1300,6 +1300,7 @@
     }
     if (s->pty_fd >= 0) {
         set_read_handler(s->pty_fd, NULL, NULL);
+        close(s->pty_fd);
         s->pty_fd = -1;
     }
     qe_free(&b->priv_data);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]