[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kinit
From: George Kiagiadakis <gkiagiad () csd ! uoc ! gr>
Date: 2009-06-24 10:40:05
Message-ID: 1245840005.055488.7748.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 986158 by gkiagia:
Append a missing / in the path that is being replaced.
Without it, strange things like the following happen:
"kdeinit4: preparing to launch /usr/lib/libkdeinit4_/drkonqi.so
Could not open library /usr/lib/kde4/libexec/drkonqi: Cannot load library \
/usr/lib/libkdeinit4_/drkonqi.so: (/usr/lib/libkdeinit4_/libdrkonqi.so: cannot open \
shared object file: No such file or directory)"
M +2 -2 kinit.cpp
--- trunk/KDE/kdelibs/kinit/kinit.cpp #986157:986158
@@ -451,8 +451,8 @@
else {
// try to match an absolute path to an executable binary (either in bin/ \
or in libexec/) // to a kdeinit module in the same prefix
- if( lib.contains( QLatin1String( "/lib" KDELIBSUFF "/kde4/libexec" ))) {
- libpath = QString( lib ).replace( QLatin1String( "/lib" KDELIBSUFF \
"/kde4/libexec" ), + if( lib.contains( QLatin1String( "/lib" KDELIBSUFF \
"/kde4/libexec/" ))) { + libpath = QString( lib ).replace( \
QLatin1String( "/lib" KDELIBSUFF "/kde4/libexec/" ),
QLatin1String("/lib" KDELIBSUFF "/libkdeinit4_")) + \
QLatin1String(".so"); } else if( lib.contains( QLatin1String( "/bin/" ))) {
libpath = QString( lib ).replace( QLatin1String( "/bin/" ),
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic