From kde-devel Wed Jan 06 09:35:50 1999 From: Stephan Kulow Date: Wed, 06 Jan 1999 09:35:50 +0000 To: kde-devel Subject: Re: Directories named *.kdelnk : bug in kfm or KSimpleConfig ? X-MARC-Message: https://marc.info/?l=kde-devel&m=91561567616855 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