[patch] use '; ' as $PATH separator + add KDIR_SEPARATOR optimization

Jaroslaw Staniek js at iidea.pl
Fri Jan 18 19:35:49 GMT 2008


Andreas Pakulat said the following, On 2008-01-18 20:20:

>> -	QString fName = *it + '/' + te;
>> -	if (::access(QFile::encodeName(fName), X_OK) == 0)
>> +	QString fName = *it + KDIR_SEPARATOR + te;
>> +	if (::access(QFile::encodeName(fName).constData(), X_OK) == 0)
> 
> Nitpick: The constData-change is unrelated to the rest, so should IMHO
> be a separate commit.

It's not needed even - I tried to locate problems with my rel-with-debug-info 
build; now switching to full-debug...

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
  KDE Libraries for MS Windows (http://windows.kde.org)




More information about the kde-core-devel mailing list