|
|
|
@ -226,7 +226,7 @@ static const UDSEntry pathToUDSEntry(const TQString& path, const TQString& displ
|
|
|
|
|
if (S_ISLNK(type)) {
|
|
|
|
|
TQString slink = TQString();
|
|
|
|
|
char buff[1000];
|
|
|
|
|
int n = readlink(path, buff, 1000);
|
|
|
|
|
int n = readlink(path.ascii(), buff, 1000);
|
|
|
|
|
if (n != -1) {
|
|
|
|
|
buff[n] = 0;
|
|
|
|
|
slink = buff;
|
|
|
|
@ -610,7 +610,7 @@ void LocateProtocol::processLocateOutput(const TQStringList& items)
|
|
|
|
|
}
|
|
|
|
|
// Go through what we have found.
|
|
|
|
|
TQStringList::ConstIterator it = items.begin();
|
|
|
|
|
if (m_pendingPath) {
|
|
|
|
|
if (!m_pendingPath.isNull()) {
|
|
|
|
|
processPath(m_pendingPath, *it);
|
|
|
|
|
m_pendingPath = TQString();
|
|
|
|
|
}
|
|
|
|
@ -625,7 +625,7 @@ void LocateProtocol::processLocateOutput(const TQStringList& items)
|
|
|
|
|
void LocateProtocol::locateFinished()
|
|
|
|
|
{
|
|
|
|
|
// Add any pending items.
|
|
|
|
|
if (m_pendingPath) {
|
|
|
|
|
if (!m_pendingPath.isNull()) {
|
|
|
|
|
processPath(m_pendingPath, "");
|
|
|
|
|
m_pendingPath = TQString();
|
|
|
|
|
}
|
|
|
|
|