OSDN Git Service

remove redundant file existence check in QDir::rename()
authorIvailo Monev <xakepa10@gmail.com>
Tue, 6 Jun 2023 06:01:40 +0000 (09:01 +0300)
committerIvailo Monev <xakepa10@gmail.com>
Tue, 6 Jun 2023 06:01:40 +0000 (09:01 +0300)
commitcf16699d42be02c30f3c9b5d45231873edd44029
tree93797af46d642467b08be2eb21a48724de31b70c
parent14dedd94355a87b0b93106f92765ba2ffa9304de
remove redundant file existence check in QDir::rename()

if the source does not exists renaming will fail anyway, also the check is
subject to race-condition

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
package/archlinux/PKGBUILD
src/core/io/qdir.cpp