[Bug 199329] New: kdesu does not work on OpenSolaris

Moinak Ghosh moinakg at gmail.com
Tue Jul 7 19:00:43 BST 2009


https://bugs.kde.org/show_bug.cgi?id=199329

           Summary: kdesu does not work on OpenSolaris
           Product: kde
           Version: 4.2.4
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: moinakg at gmail.com


Version:            (using KDE 4.2.4)
Compiler:          Gcc 4.4 
OS:                Solaris
Installed from:    Compiled From Sources

kdesu in KDE 4.2.4 fails in OpenSolaris with a message saying conversation with
su failed. It turns out that KPty calls tcgetattr on the master fd which fails
on OpenSolaris.
The attached patch adds a check for Solaris and uses the slave fd if so. When I
checked KDE 3 source I found that this handling was done properly in KDE 3 but
got changed during subsequent code refactoring in 4.x.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list