Workaround for GLib's recursive moving error, e.g. with bound mounts
authorTsu Jan <tsujan2000@gmail.com>
Sun, 21 Apr 2019 19:37:07 +0000 (00:07 +0430)
committerAlf Gaida <agaida@siduction.org>
Sat, 17 Aug 2019 11:00:08 +0000 (12:00 +0100)
commit4c0059c86e6b3a7535e34d56580f96ec3847d40c
tree23d7912a028c59b3e345ee47025dc32b367083ac
parent158a82b1ed86b675ab2268330e8a6df67ee8af77
Workaround for GLib's recursive moving error, e.g. with bound mounts

`g_file_move()` may not work recursively on the same filesystem, especially
with bound mounts (to `/mnt`, for example) and give the `G_IO_ERROR_WOULD_RECURSE`
error. This patch ignores the error and tries our `FileTransferJob::copyFile()`.

Closes https://github.com/lxqt/pcmanfm-qt/issues/943

Gbp-Pq: Name workaround-glib-recursive-moving-error.patch
src/core/filetransferjob.cpp