E: managing overwrite when moving files
authorVincent Torri <vincent.torri@gmail.com>
Tue, 21 Aug 2012 07:40:31 +0000 (07:40 +0000)
committerVincent Torri <vincent.torri@gmail.com>
Tue, 21 Aug 2012 07:40:31 +0000 (07:40 +0000)
commit053476d676a5a5e59be1a86cb3a805384be6fddc
tree61886483e76fc915a1e3bfa9185d595d09c1e30d
parent735a1fb7fdac8a23aeff7c85ff93869f1d86727f
E: managing overwrite when moving files

The rename() function deletes dest file if it exists,
so there is no overwrite handling. Instead of
testing a rename() and if it fails creating a task
to copy-delete the file, we directly create this
task, which handles overwrite.

Patch by Maxime Villard (rustyBSD)

SVN revision: 75489
src/bin/e_fm_op.c