Ticket #2829: loss of data on copy to full partition.
commit5737723e7720343a6967e00b83a8330dc2dc34af
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:21:01 +0000 (26 16:21 +0400)
treecb391d440db19afff21b817abc17e46304b17293
parentda06e6f833c98bed73a9abc6fe5fa37c4ea443e9
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