Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8.1, 6.9.0 Beta1
-
None
-
1
Description
The documentation of QTemporaryFile::rename() (https://doc.qt.io/qt-6/qtemporaryfile.html#rename) neglects to say whether the function will overwrite the target, if it exists.
It seems it doesn't (implementation calls QTemporaryFileEngine::rename(), not renameOverwrite()), making this function rather useless, seeing as it's the only public Qt API I know that guarantees an atomic rename of a file at the OS level.
Attachments
Issue Links
- relates to
-
QTBUG-132590 Unclear relation between QTemporaryFile::{autoRemove,rename}()
-
- Reported
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-132617 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
615630,2 | QTemporaryFile: add renameOverwrite() | dev | qt/qtbase | Status: NEW | -1 | 0 |