PATCH: kio_sftp

David Faure faure at kde.org
Sun Jan 4 14:34:28 GMT 2004


On Sunday 04 January 2004 15:14, Dawit A. wrote:
> 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...

Looks good.

-- 
David FAURE, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list