OSDN Git Service

do not remove the file from the EXDEV error codepath in QFileSystemEngine::renameFile()
authorIvailo Monev <xakepa10@gmail.com>
Tue, 1 Nov 2022 05:34:54 +0000 (07:34 +0200)
committerIvailo Monev <xakepa10@gmail.com>
Tue, 1 Nov 2022 05:34:54 +0000 (07:34 +0200)
commit65ed00fe3dbd360214f9c12398143b8ec9e12fb2
treeae5894f07e003ea602b87e5e15b973d0c6ff1d1d
parent6abeaffdee31e77a2adb8772404782b0f05938ac
do not remove the file from the EXDEV error codepath in QFileSystemEngine::renameFile()

QFileSystemEngine::renameFile() is supposed to fail if the file exists

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/core/io/qfilesystemengine_unix.cpp