Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8.1, 6.9.0 Beta1
-
None
-
2
-
a01b14f1d (dev), 1ec2f5df2 (6.9), 2e98d8d1d (6.8), 776137f29 (tqtc/lts-6.5), 2e91fa640 (tqtc/lts-5.15)
-
Foundation Sprint 122, Foundation Sprint 123, Foundation Sprint 124, Foundation Sprint 125, Foundation Sprint 126, Foundation Sprint 127
Description
QTemporaryFile::rename() will not overwrite the target, if it exists, 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 (cf. also QTBUG-2082).
Add a renameOverwrite() function.
Attachments
Issue Links
- is cloned by
-
QTBUG-132669 Add a QTemporaryFile/Dir (named?) ctor that doesn't expect a placeholder
-
- Open
-
- relates to
-
QTBUG-132590 Unclear relation between QTemporaryFile::{autoRemove,rename}()
-
- Reported
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-132646 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
615630,2 | QTemporaryFile: add renameOverwrite() | dev | qt/qtbase | Status: NEW | -1 | 0 |