diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-05-26 17:33:15 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-05-31 13:20:44 -0500 |
commit | fb4f8c7108f43d2341ba299424646c4963b21188 (patch) | |
tree | 7f3c907ac5406d2000056f6bcca41d7ae4d3a925 /src/burn/engine/cache.cpp | |
parent | 0f9931107ecf9e1f6714e6fd2cabc76d2ddb1153 (diff) | |
download | wix-fb4f8c7108f43d2341ba299424646c4963b21188.tar.gz wix-fb4f8c7108f43d2341ba299424646c4963b21188.tar.bz2 wix-fb4f8c7108f43d2341ba299424646c4963b21188.zip |
Replace PathIsAbsolute with PathIsRooted and add PathIsFullyQualified.
Diffstat (limited to 'src/burn/engine/cache.cpp')
-rw-r--r-- | src/burn/engine/cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/burn/engine/cache.cpp b/src/burn/engine/cache.cpp index 5d81e1ba..2b7d6ede 100644 --- a/src/burn/engine/cache.cpp +++ b/src/burn/engine/cache.cpp | |||
@@ -563,7 +563,7 @@ extern "C" HRESULT CacheGetLocalSourcePaths( | |||
563 | fPreferSourcePathLocation = !pCache->fRunningFromCache || FAILED(hr); | 563 | fPreferSourcePathLocation = !pCache->fRunningFromCache || FAILED(hr); |
564 | fTryLastFolder = SUCCEEDED(hr) && sczLastSourceFolder && *sczLastSourceFolder && CSTR_EQUAL != ::CompareStringW(LOCALE_NEUTRAL, NORM_IGNORECASE, pCache->sczSourceProcessFolder, -1, sczLastSourceFolder, -1); | 564 | fTryLastFolder = SUCCEEDED(hr) && sczLastSourceFolder && *sczLastSourceFolder && CSTR_EQUAL != ::CompareStringW(LOCALE_NEUTRAL, NORM_IGNORECASE, pCache->sczSourceProcessFolder, -1, sczLastSourceFolder, -1); |
565 | fTryRelativePath = CSTR_EQUAL != ::CompareStringW(LOCALE_NEUTRAL, NORM_IGNORECASE, wzSourcePath, -1, wzRelativePath, -1); | 565 | fTryRelativePath = CSTR_EQUAL != ::CompareStringW(LOCALE_NEUTRAL, NORM_IGNORECASE, wzSourcePath, -1, wzRelativePath, -1); |
566 | fSourceIsAbsolute = PathIsAbsolute(wzSourcePath); | 566 | fSourceIsAbsolute = PathIsRooted(wzSourcePath); |
567 | 567 | ||
568 | // If the source path provided is a full path, try that first. | 568 | // If the source path provided is a full path, try that first. |
569 | if (fSourceIsAbsolute) | 569 | if (fSourceIsAbsolute) |