diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-08-22 04:02:09 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-08-23 18:29:31 +0000 |
commit | 5148ed8889674aba61f11e2fa0a7796a5869fb11 (patch) | |
tree | 1796b4c8f8f1f665a75f572a9f77c63f9e43bd44 /doc | |
parent | 29ff75ef89d93934bdbc38e24398e766e6597508 (diff) |
Fix problems with drive root paths on Windows
This patch ensures that paths are correctly resolved against drive
roots on Windows, for example, resolvePath("C:\\foo", "..") now results
in "C:\\" rather than "C:" which is actually a relative path. It also
fixes a related issue in the product installer where one character may
have been truncated from the middle of a path since the (absolute)
prefix was always assumed to NOT end with a slash, which is always
canonical on Unix but not necessarily on Windows in the case of drive
roots where a trailing slash is necessary to differentiate from relative
path of the current drive.
Change-Id: I6c5ab1de517bb6933c3b4aebdd22236bb71c1d37
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions