diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2015-11-17 22:21:53 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2016-05-09 06:04:21 +0000 |
commit | b168c6c8248662da31dbaaf2afb8e771a9ecdc85 (patch) | |
tree | 9b0f346ce146877a974eb629b890293cabb09e21 /src/corelib/io/qurl_p.h | |
parent | fe23db053a5b3f2097b332ad3269cd0eb5a55168 (diff) |
QStorageInfo: fix matching of mountpoints to sibling directories
The path "/usrfoo" starts with "/usr", so if you tried to get
QStorageInfo("/usrfoo") when "/usr" is a mount point, you'd get the
wrong filesystem.
[ChangeLog][QtCore][QStorageInfo] Fixed a bug that caused QStorageInfo
to report information for the wrong filesystem if there is a mounted
filesystem at a path that is a prefix of the requested path (e.g., it
would report "/usr" filesystem for "/usrfoo").
Task-number: QTBUG-49498
Change-Id: I3e15a26e0e424169ac2bffff1417b7a27cd0132d
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'src/corelib/io/qurl_p.h')
0 files changed, 0 insertions, 0 deletions