Summary: | Have Juk resolve symlinks or optionally not follow them | ||
---|---|---|---|
Product: | [Applications] juk | Reporter: | Lauri Watts <lauri> |
Component: | general | Assignee: | Scott Wheeler <wheeler> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | FreeBSD | ||
Latest Commit: | Version Fixed In: |
Description
Lauri Watts
2003-03-05 00:54:28 UTC
Subject: Re: Have Juk resolve symlinks or optionally not follow them Thank you for your bug report. The feature that you requested has been implemented in the latest development (CVS) version of KDE. The feature request will be closed. Lauri says that this is happening again. CVS commit by mpyne: Fix bug 55529 again by using the handy resolveSymLinks() function in every place where the FileHandle's path can be set, and when comparing with the Cache. CCMAIL:55529-done@bugs.kde.org M +4 -4 filehandle.cpp 1.13 --- kdemultimedia/juk/filehandle.cpp #1.12:1.13 @@ -108,5 +108,5 @@ FileHandle::FileHandle(const QString &pa d = new FileHandlePrivate; d->fileInfo = QFileInfo(path); - d->absFilePath = path; + d->absFilePath = resolveSymLinks(path); read(s); Cache::instance()->insert(*this); @@ -131,5 +131,5 @@ void FileHandle::setFile(const QString & setup(QFileInfo(path), path); else { - d->absFilePath = path; + d->absFilePath = resolveSymLinks(path); d->fileInfo.setFile(path); } @@ -241,5 +241,5 @@ void FileHandle::setup(const QFileInfo & QString fileName = path.isNull() ? info.absFilePath() : path; - FileHandle cached = Cache::instance()->value(fileName); + FileHandle cached = Cache::instance()->value(resolveSymLinks(fileName)); if(cached != null()) { @@ -250,5 +250,5 @@ void FileHandle::setup(const QFileInfo & d = new FileHandlePrivate; d->fileInfo = info; - d->absFilePath = fileName; + d->absFilePath = resolveSymLinks(fileName); d->modificationTime = info.lastModified(); Cache::instance()->insert(*this); |