[PATCH] another patch for the kio_devices problem

Stephan Kulow coolo at kde.org
Tue Oct 29 09:17:51 GMT 2002


The patch I sent tonight hinders kdesktop to even try to delete
devices:/ items, but still if an application tries KIO::del("devices:/cdrom")
it will get deleted.

The attached patch checks in CopyJob and DeleteJob if the protocol
supports deleting and doesn't even stat then. The problem is that
devices:/ (and lan:/ from what I heard) redirect URLs to protocols
that _can_ delete, so if you delete these meta URLs you end up
deleting something real - and this is at least confusing (and as this

Greetings, Stephan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kio_job.patch
Type: text/x-diff
Size: 1622 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20021029/ba92d7e5/attachment.patch>

More information about the kde-core-devel mailing list