diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-12-25 22:54:01 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-12-25 22:54:01 +0000 |
commit | cbb347eed395050107cc56a0849678b8efb8194b (patch) | |
tree | 4231fd0186d2452d7ace66c7d6e9ff396fb0e369 /lib/win32 | |
parent | 0b8901506e2a47585edbdada41130d3aabf721c5 (diff) |
Fix deletion of test fixture directories with unicode names on Windows.
We need to use CreateProcessW() instead of system() to pass these filenames
to the rd command.
Fixes every test that runs after test_unicode_filenames_can_be_backed_up
in test/bbackupd.
Diffstat (limited to 'lib/win32')
-rw-r--r-- | lib/win32/emu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/win32/emu.h b/lib/win32/emu.h index 80c1d5d8..b8539bb6 100644 --- a/lib/win32/emu.h +++ b/lib/win32/emu.h @@ -391,6 +391,7 @@ bool ConvertConsoleToUtf8(const std::string& rSource, std::string& rDest); char* ConvertFromWideString(const WCHAR* pString, unsigned int codepage); bool ConvertFromWideString(const std::wstring& rInput, std::string* pOutput, unsigned int codepage); +WCHAR* ConvertUtf8ToWideString(const char* pString); std::string ConvertPathToAbsoluteUnicode(const char *pFileName); // Utility function which returns a default config file name, |