PATCH: kio_sftp

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


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...

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: <>

More information about the kde-core-devel mailing list