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

List:       kde-devel
Subject:    Re: findAllResources and symbolic links
From:       Stephan Kulow <coolo () kde ! org>
Date:       2007-07-02 8:07:12
Message-ID: 200707021007.14379.coolo () kde ! org
[Download RAW message or body]

Am Sonntag 01 Juli 2007 schrieb Petri Damsten:
> Hi,
>
> When I do this:
> KGlobal::dirs()->findAllResources("appdata", "tools/*.desktop");
> It doesn't seem to return symbolic links in that directory, only real
> files. I would like use links at least in developping/debug phase. Is there
> a specific reason not to return links?
>
The main reason it does not follow links is that it doesn't want to trap into
endless symlink recursion. But I don't think this is a strong reason and would
review a patch to kstandarddirs.

Greetings, Stephan

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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