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

List:       kde-devel
Subject:    Patch for kdeadmin on Solaris 8
From:       "James F.  Hranicky" <jfh () cise ! ufl ! edu>
Date:       2004-01-22 14:08:43
Message-ID: 20040122090843.392e7532.jfh () cise ! ufl ! edu
[Download RAW message or body]

Platform: Solaris 8
Compiler: gcc-3.3.2
KDE CVS : 2004-01-13

Attached is a patch that allows compilation to complete for kdeadmin on
Solaris 8.

----------------------------------------------------------------------
| Jim Hranicky, Senior SysAdmin                   UF/CISE Department |
| E314D CSE Building                            Phone (352) 392-1499 |
| jfh@cise.ufl.edu                      http://www.cise.ufl.edu/~jfh |
----------------------------------------------------------------------
                          About politics:
                     Don't worry about results
                   It's the thought that counts

["kdeadmin.patch.txt" (text/plain)]

diff -ur kdeadmin.orig/kuser/mnt.cpp kdeadmin/kuser/mnt.cpp
--- kdeadmin.orig/kuser/mnt.cpp	2003-12-09 16:51:21.000000000 -0500
+++ kdeadmin/kuser/mnt.cpp	2004-01-15 06:38:10.397432000 -0500
@@ -117,7 +117,7 @@
     if (!CORRECT_FSTYPE((const char *)mt->mnt_fstype))
       continue;
 
-    quotafilename = QString("%1%2%3")
+    quotafilename = QString::fromLatin1("%1%2%3")
                           .arg(QString::fromLatin1(mt->mnt_mountp))
                           \
.arg(QString::fromLatin1((mt->mnt_mountp[strlen(mt->mnt_mountp) - 1] == '/') ? "" : \
                "/"))
                           .arg(QString::fromLatin1(_KU_QUOTAFILENAME));



>> 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