aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kdebase4-runtime/files/patch-TEPty.C
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdebase4-runtime/files/patch-TEPty.C')
-rw-r--r--x11/kdebase4-runtime/files/patch-TEPty.C11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/kdebase4-runtime/files/patch-TEPty.C b/x11/kdebase4-runtime/files/patch-TEPty.C
new file mode 100644
index 000000000000..9a5ece3b2ab3
--- /dev/null
+++ b/x11/kdebase4-runtime/files/patch-TEPty.C
@@ -0,0 +1,11 @@
+--- konsole/src/TEPty.C Tue Oct 3 14:57:30 2000
++++ konsole/src/TEPty.C.new Thu Nov 2 17:51:30 2000
+@@ -225,7 +225,7 @@
+ #ifdef HAVE_UTEMPTER
+ removeLineFromUtmp(ttynam, fd);
+ #elif defined(USE_LOGIN)
+- char *tty_name=ttyname(0);
++ char *tty_name=ttyname(fd);
+ if (tty_name)
+ logout(tty_name);
+ #endif