[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: ioslave behaviour and url's
From: Jay Oliveri <ilnero () gmx ! net>
Date: 2001-10-30 6:15:23
[Download RAW message or body]
I don't have a stat method.
Currently, when I enter a key like the one listed below, the Konq
window changes to that of one expecting a list of files in a directory
(the same screen when you do file:/etc).
I've looked at the other slaves and I can't find any pattern to what
information needs to be in the UDSEntry object.
On Monday 29 October 2001 05:17 am, David Faure wrote:
> On Lundi 29 Octobre 2001 06:51, Jay Oliveri wrote:
> > I'm having this problem coding the freenet ioslave in kdenonbeta.
> >
> > A certain type of freenet key looks as follows:
> > freenet:SSK@npfV5XQijFkF6sXZvuO0o~kG4wEPAgM/homepage//
> >
> > It seems the trailing '//' characters direct Konq to assume it's a
> > directory that contains files.
>
> No, Konq doesn't rely on slashes to determine whether something is a
> file or a directory (hint: http://www.kde.org/ isn't a directory ;).
> If you implement the stat() method of the ioslave, that's where you
> return flags to tell whether it's a file or a directory.
>
> > Then either Konq or the slave gets
> > confused and doesn't catch the data (the data is coming from
> > freenet ok, but the slave effectively dumps it).
> >
> > Can anyone shed light on this?
>
> What's the exact problem / error message, and what's the code from
> stat() looking like ?
--
Jay Oliveri "In the land of the blind,
GnuPG ID: 0x5AA5DD54 the one-eyed man is king."
>> 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