PATCH: kio_sftp

Dawit A. adawit at kde.org
Sun Jan 4 14:14:18 GMT 2004


Hi,

The following patch fixes a couple of issues with kio_sftp:

- When deleting a symlink to a directory, do not delete the actual directory! 
Problem was ::stat was using the SSH_FXP_STAT flag instead of SSH_FXP_LSTAT 

- Fix crapy and incorrect error message reporting! For example, typing 
sftp://sldkdkdkdksl shows two error dialogs consecutively and both of them 
are completely useless. First one does not make sense and second one 
incorrectly says unable to connect to 'localhost'! Fixes BR# 62684 for the 
most part

- A couple of minor optimizations and fixes like avoiding unnecessary emition 
of listEntry(...) in sftpReadDir and correctly determining the fileType...

-- 
Regards,
Dawit A.
"Preach what you practice, practice what you preach"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kio_sftp-20040104.diff
Type: text/x-diff
Size: 8729 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040104/8e0bcff2/attachment.diff>


More information about the kde-core-devel mailing list