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

List:       kde-core-devel
Subject:    Re: patch: kdesu_pty.cpp
From:       Waldo Bastian <bastian () kde ! org>
Date:       2000-08-21 4:31:58
[Download RAW message or body]

On Sun, 20 Aug 2000, Geert Jansen wrote:
> Hi,
>
> appended is a patch to kdesu_pty.cpp. It moves the openpty() code down a
> bit and fixes it. Does this work for people who have HAVE_OPENPTY but no
> HAVE_GETPT (*BSD??) ?
>
> Greetings,
> Geert

Works for me. 

Slight modification to your patch:

-    // konsole_grantpty doesn't do this
-    if (ptyname == "/dev/ptmx")
+    // konsole_grantpty only does /dev/pty??
+    if (!ptyname.startsWith("/dev/pty"))                                    

Cheers,
Waldo
-- 
KDE/Linux, if you need solutions instead of hype.

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

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