From 68ec803fc7f48bb0e0463dc45f6ce40e1f07dbf5 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Fri, 3 Jun 2022 17:50:50 -0500 Subject: Make sure base paths are fully qualified in Burn. --- src/libs/dutil/WixToolset.DUtil/inc/pathutil.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/libs/dutil/WixToolset.DUtil/inc/pathutil.h') diff --git a/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h b/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h index f36e6ebc..971ef887 100644 --- a/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h +++ b/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h @@ -298,6 +298,16 @@ DAPI_(HRESULT) PathConcatRelativeToBase( __deref_out_z LPWSTR* psczCombined ); +/******************************************************************* + PathConcatRelativeToFullyQualifiedBase - ensures the base path is + fully qualified and then calls PathConcatRelativeToBase. +*******************************************************************/ +DAPI_(HRESULT) PathConcatRelativeToFullyQualifiedBase( + __in LPCWSTR wzBase, + __in_opt LPCWSTR wzRelative, + __deref_out_z LPWSTR* psczCombined + ); + /******************************************************************* PathCompareCanonicalized - canonicalizes the two paths using PathCanonicalizeForComparison which does not resolve relative paths into fully qualified paths. -- cgit v1.2.3-55-g6feb