repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: f7c5cd7788652499ad981abe096dfa5edbeba3e8:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit f7c5cd7788652499ad981abe096dfa5edbeba3e8
Author: Marc Lehmann 
Date:   Thu Jan 19 16:43:36 2006 +0000

    *** empty log message ***

diff --git a/src/ptytty.C b/src/ptytty.C
index 6040c43858a441bb2fac0e3c33aefd9785630c00..
index ..7734e8c4c75ba97bc9296b7d04e112e16fe8ce0c 100644
--- 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-----