diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-06-03 17:47:31 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-06-07 19:44:36 -0500 |
commit | 8a4d03207633e9fdc364aaed82bd167f844679f9 (patch) | |
tree | 9ca862bb51fd3507fc5867c292aef236e3411867 /src/libs/dutil/test/DUtilUnitTest/DirUtilTests.cpp | |
parent | 5d35ff01e33b8ffdab04a49ddc5927185309391a (diff) | |
download | wix-8a4d03207633e9fdc364aaed82bd167f844679f9.tar.gz wix-8a4d03207633e9fdc364aaed82bd167f844679f9.tar.bz2 wix-8a4d03207633e9fdc364aaed82bd167f844679f9.zip |
Resolve paths while parsing them from the command line.
The current directory is a process wide setting that can potentially be changed by any thread.
Remove fileutil methods that had equivalent pathutil methods.
Diffstat (limited to 'src/libs/dutil/test/DUtilUnitTest/DirUtilTests.cpp')
-rw-r--r-- | src/libs/dutil/test/DUtilUnitTest/DirUtilTests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/dutil/test/DUtilUnitTest/DirUtilTests.cpp b/src/libs/dutil/test/DUtilUnitTest/DirUtilTests.cpp index 7643366f..14ed7807 100644 --- a/src/libs/dutil/test/DUtilUnitTest/DirUtilTests.cpp +++ b/src/libs/dutil/test/DUtilUnitTest/DirUtilTests.cpp | |||
@@ -25,7 +25,7 @@ namespace DutilTests | |||
25 | hr = GuidCreate(&sczGuid); | 25 | hr = GuidCreate(&sczGuid); |
26 | NativeAssert::Succeeded(hr, "Failed to create guid."); | 26 | NativeAssert::Succeeded(hr, "Failed to create guid."); |
27 | 27 | ||
28 | hr = DirGetCurrent(&sczCurrentDir); | 28 | hr = DirGetCurrent(&sczCurrentDir, NULL); |
29 | NativeAssert::Succeeded(hr, "Failed to get current directory."); | 29 | NativeAssert::Succeeded(hr, "Failed to get current directory."); |
30 | 30 | ||
31 | hr = PathConcat(sczCurrentDir, sczGuid, &sczFolder); | 31 | hr = PathConcat(sczCurrentDir, sczGuid, &sczFolder); |