summaryrefslogtreecommitdiff
path: root/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2022-06-03 17:47:54 -0500
committerSean Hall <r.sean.hall@gmail.com>2022-06-07 19:44:36 -0500
commitb652e93a460b4b822a01382e5992f96f1d805ffe (patch)
tree0c8ec0f0eba23d65fd404eb3f510944b244de65b /src/libs/dutil/WixToolset.DUtil/inc/pathutil.h
parent8a4d03207633e9fdc364aaed82bd167f844679f9 (diff)
downloadwix-b652e93a460b4b822a01382e5992f96f1d805ffe.tar.gz
wix-b652e93a460b4b822a01382e5992f96f1d805ffe.tar.bz2
wix-b652e93a460b4b822a01382e5992f96f1d805ffe.zip
Replace PathCompare with PathCompareCanonicalized.
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/pathutil.h')
-rw-r--r--src/libs/dutil/WixToolset.DUtil/inc/pathutil.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h b/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h
index 871e706b..e64c8ef3 100644
--- a/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h
+++ b/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h
@@ -258,13 +258,14 @@ DAPI_(HRESULT) PathConcatRelativeToBase(
258 ); 258 );
259 259
260/******************************************************************* 260/*******************************************************************
261 PathCompare - compares the fully expanded path of the two paths using 261 PathCompareCanonicalized - canonicalizes the two paths using PathCanonicalizeForComparison
262 ::CompareStringW(). 262 which does not resolve relative paths into fully qualified paths.
263 The strings are then compared using ::CompareStringW().
263*******************************************************************/ 264*******************************************************************/
264DAPI_(HRESULT) PathCompare( 265DAPI_(HRESULT) PathCompareCanonicalized(
265 __in_z LPCWSTR wzPath1, 266 __in_z LPCWSTR wzPath1,
266 __in_z LPCWSTR wzPath2, 267 __in_z LPCWSTR wzPath2,
267 __out int* pnResult 268 __out BOOL* pfEqual
268 ); 269 );
269 270
270/******************************************************************* 271/*******************************************************************