[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KDE patches from PLD.
From:       Dirk Mueller <mueller () kde ! org>
Date:       2002-11-30 2:58:27
[Download RAW message or body]

On Don, 28 Nov 2002, Piotr Szymanski wrote:

Hi, 

any reason why you include this patch ?

--- kdebase/konsole/konsole/konsole_grantpty.c.glibc222 Wed Feb 14 15:14:33 
2001
+++ kdebase/konsole/konsole/konsole_grantpty.c  Wed Feb 14 15:16:16 2001
@@ -143,6 +143,11 @@
   }
   close(PTY_FILENO);
 
+  /* If we're using a sane setup (/dev/ptmx taking care of slave ttys),
+   * fake a /dev/pty0 so the rest of the code works                     */
+  if(strlen(pty)==9 && !strncmp(pty, "/dev/ptmx", 9))
+         strcpy(pty, "/dev/pty0");
+  


What is it supposed to fix ?



-- 
Dirk (received 178 mails today)
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic