diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2023-09-20 18:31:38 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2023-09-23 16:16:09 -0700 |
commit | 36a169e31e86fadde41c61804ce437164977f60a (patch) | |
tree | d7d120bd6f927c2287840cb76c3baeabea998ae5 /tests/auto/sql/kernel | |
parent | 6c504f2519e1180dbcfd77d5bb08b0db9742eeaa (diff) |
We can't use QFileSystemEngine::fillMetaData() because there's no bit in
QFileSystemMetaData to indicate the sticky flag, so we must make a at
least one stat() or lstat() call ourselves. Given that we need to know
if $root/.Trash is a symlink, that system call must be lstat(). And it
turns out that system call provides everything we need to confirm its
suitability.
This avoids QDir overhead just to manipulate strings.
Pick-to: 6.6
Change-Id: I9d43e5b91eb142d6945cfffd1786c5e54199ecb2
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/sql/kernel')
0 files changed, 0 insertions, 0 deletions