repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: f7c5cd7788652499ad981abe096dfa5edbeba3e8: path_to: revision_to:
commit f7c5cd7788652499ad981abe096dfa5edbeba3e8 Author: Marc LehmannDate: Thu Jan 19 16:43:36 2006 +0000 *** empty log message *** diff --git a/src/ptytty.C b/src/ptytty.C
--- a/src/ptytty.C
+++ b/src/ptytty.C
@@ -408,8 +408,11 @@ rxvt_ptytty_unix::put ()
chmod (name, RESTORE_TTY_MODE);
chown (name, 0, ttyconf.gid);
- if (pty >= 0) close (pty);
close_tty ();
+
+ if (pty >= 0)
+ close (pty);
+
free (name);
pty = tty = -1;
@@ -607,6 +610,7 @@ void rxvt_ptytty_server ()
_exit (EXIT_SUCCESS);
}
}
+
#endif
// a "factory" *g*
-----END OF PAGE-----