diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-11-19 11:26:33 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-11-20 15:49:53 +0000 |
commit | 4ee85ff7c5db7aa228a30a9dc2a52d5d37089241 (patch) | |
tree | 3167b302f56ee0e6ebdff6103dbe5d632c94d503 /LICENSE.GPL3-EXCEPT | |
parent | 3c7a6a7a581f9ea6f05a22a912d660c5402a1fa8 (diff) |
QFileSystemEngine/Linux: fix when qt_lstatx() succeeds
When qt_lstatx() succeeds and the target is not a link, we'd erroneously
mark the file as non-existent during the pass to check qt_statx(). All
flags besides the file's modes were cleared.
This is unit-tested, but only happens on Linux kernels 4.12 or later. It
didn't happen to me because I already had this fix applied as part of a
later change relating to QSystemResult.
Task-number: QTBUG-64514
Change-Id: I938b024e38bf4aac9154fffd14f893506a1ef55b
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'LICENSE.GPL3-EXCEPT')
0 files changed, 0 insertions, 0 deletions