When listening a directory with links in sftp, the type of the entry of a symlink was inserted twice.
Now the entry data is inserted only once.
Get rid of the goto statement using local variables.
Details
Details
Tested in sftp://127.0.0.1 with broken symbolic links and sftp://127.0.0.1/usr/lib64 with a lot of symbolic links.
Diff Detail
Diff Detail
- Repository
- R320 KIO Extras
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Thanks for working on this! :-)
It is definitely better now - slave does not crash anymore and shows the links. However, I'd expect a link to a directory to behave like in filesystem browsing:
- show proper folder-link icon (instead of a file link)
- allow to enter the referenced folder
The slave crashes on a request to read a linked file. But I'm not sure if that worked before. I'll investigate.
Comment Actions
I misread what was after the goto. :-(
Modified also the similar method createUDSEntry.
Comment Actions
Should we backport this on the stable branch? Otherwise affected people will have to either downgrade kio or compile kio-extras from master...