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

List:       kfm-devel
Subject:    Re: kdebase/konqueror/iconview
From:       David Faure <faure () kde ! org>
Date:       1999-11-05 22:32:54
[Download RAW message or body]

On Fri, Nov 05, 1999 at 05:04:06PM -0500, Dawit Alemayehu wrote:
> On Fri, 05 Nov 1999, David Faure wrote:
> > On Fri, Nov 05, 1999 at 11:55:50PM +0100, Simon Hausmann wrote:
> > > Hmmm, when listing a directory via ftp for example, then the "." tells me
> > > the permissions I'm looking for. Would that help?
> > Oh, that's right. Good idea.
> > 
> > Currently kio_file does
> >  if ( strcmp( ep->d_name, "." ) == 0 || strcmp( ep->d_name, ".." ) == 0 )
> >       continue;  
> 
> Might kio_file be doing that on purpose so as to avoid that very
> very old problem kfm used to have where people were deleting the "." and ".." by
> mistake hence removing the whole directory ?
> 
> > But kio_ftp doesn't seem to filter out anything.
> > Is it ok if kio_file returns . (and ..?) for everybody, or should that
> > be an additional parameter to KIOJob::listDir() ?
> > 
> > [I would say, let the app filter out what they want...]
> 
> I second this.  It should be upto the app to filter out what it wants
> to so as not to restrict features that might be needed by others.  For example,
> konqy can filter out "." and ".." from being displayed etc ...

Sure !
We don't want to display that in konqy/kdesky ! :-)

I'm going to hack this soon.
Debugging kio_ftp for now.

-- 
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today

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

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