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

List:       kde-devel
Subject:    Re: Directories named *.kdelnk : bug in kfm or KSimpleConfig ?
From:       Stephan Kulow <coolo () kde ! org>
Date:       1999-01-06 9:35:50
[Download RAW message or body]

David Faure wrote:
> 
> kb2024 says :
> 
> KFM will enter an infinite loop if there is a directory in
> the applnk tree with a .kdelnk at the end of it's name.  The
> error is in the kbind.cpp file at line 2091 (and on down).
> 
> Basically, kbind.cpp is not checking to see if the .kdelnk
> "file" is actually a directory.  This causes the
> KSimpleConfig instantiation to wander off...
> 
> KSimpleConfig should perhaps check for this situation also.
> 
> kmenuedit allowed me to make the directory I am describing,
> but when I logged out and back in KDE got REAL stupid.
> 
> ------------
> 
> So, should I add a check in kfm, or should KSimpleConfig handle this ?
> I would vote for the second, because it should really check that it never tries
> to open a directory as if it were a file. (This is not the first time this bug occurs)
> 
I already wrote Kalle a patch for KSimpleConfig. This is what
we call "the undocumented feature" ;)

Greetings, Stephan

-- 
As long as Linux remains a religion of freeware fanatics,
Microsoft have nothing to worry about.  
                       By Michael Surkan, PC Week Online

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

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