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

List:       kde-commits
Subject:    KDE/kdebase/workspace/kdm/kfrontend
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2010-02-28 20:40:38
Message-ID: 1267389638.440884.32337.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1097273 by ossi:

make a note of inaccessible DataDir in the log

make no attempt at fixing it or being more visible. such a low-level
installation failure can reasonably require low-level debugging ...

BUG: 158196

 M  +3 -0      kdmconfig.cpp  


--- trunk/KDE/kdebase/workspace/kdm/kfrontend/kdmconfig.cpp #1097272:1097273
@@ -93,6 +93,9 @@
 		(_grabInputPre == GRAB_ALWAYS) ? 1 :
 		!_authorized;
 
+	QByteArray dd = _dataDir.toUtf8();
+	if (access( dd.constData(), W_OK ))
+		logError( "Data directory %\"s not accessible: %m\n", dd.constData());
 	_stsFile = _dataDir + "/kdmsts";
 
 	// Greet String
[prev in list] [next in list] [prev in thread] [next in thread] 

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