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, 27 Apr 2019 16:40:25 +0000 (17:40 +0100)
commit72f820da664e276cff8e486517c3f867c8765797
treef127512715b9cdead44e4b5d84098c2695453d59
parent5b7e1e423f0ad6906c333edec092f811e14f2622
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