diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-06-29 10:38:13 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-07-05 14:43:46 +0000 |
commit | 08a39ecf332e96444ce6b2fb0502c569935fad6a (patch) | |
tree | a506d876acfc3f8c5a6cc27deb8b9fe70bf41b04 /src/corelib/io/qsavefile.cpp | |
parent | fb13510681952abaf475b5188dd3333503501369 (diff) |
QFileSystemEngine/Unix: use fchmod(2) if the file is open
This protects against the file having been renamed or deleted. We'll
still operate on the open file, regardless the name it may have on the
filesystem.
Change-Id: I1eba2b016de74620bfc8fffd14cca85cfd672e6d
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/io/qsavefile.cpp')
0 files changed, 0 insertions, 0 deletions