[Patch] FISH freezes MC on abort of transfer

Pavel Shirshov (pchel) me at pavelsh.pp.ru
Tue Dec 28 12:27:02 UTC 2004


Hello buc,

Thursday, November 25, 2004, 9:24:59 PM, you wrote:

b>   There is a little bug in FISH vfs -- file transfer abortion is not
b> working properly.

b>   How to reproduce:
b> 1. Login as unprivileged user, invoke MC
b> 2. Set on one panel any local directory where you have no write access
b> 3. On the other panel, cd somewhere using FISH  (cd /#sh: ... )
b> 4. Try to copy some file from remote system to local dir.
b> 5. Because of missing write access, MC report error and then starts to
b> abort transfer. But never finishes it...

b>   The issue is inspired by the trivial bug -- see the patch attached.
b> Instead of flush of the same amount of bytes as the non-transferred file
b> is, everything is flushed, including special FISH`s exit codes...


Committed. Thx.

-- 
Best regards,
 Pavel                            mailto:me at pavelsh.pp.ru




More information about the mc-devel mailing list