Ticket #2829: loss of data on copy to full partition.
commitaf2fe31ff3ef91759c41378b8667ae61d8204cff
authorAndrew Borodin <aborodin@vmail.ru>
Sun, 17 Jun 2012 11:30:57 +0000 (17 15:30 +0400)
committerAndrew Borodin <aborodin@vmail.ru>
Tue, 26 Jun 2012 12:19:22 +0000 (26 16:19 +0400)
treef5eae2258f710e025a060c0dc3fc5c13ecba6607
parent33e1525eeb57cb4e75ac7081903b1c124918262f
Ticket #2829: loss of data on copy to full partition.

While copy/move file, the ENOSPC value of errno wasn't handled.

If destination file isn't comlete because of full partition, source file
is kept and destination one is removed unconditionally.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/filemanager/file.c