aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/ijar/platform_utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/ijar/platform_utils.cc')
-rw-r--r--third_party/ijar/platform_utils.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/ijar/platform_utils.cc b/third_party/ijar/platform_utils.cc
index a998cabc8e..dde8868005 100644
--- a/third_party/ijar/platform_utils.cc
+++ b/third_party/ijar/platform_utils.cc
@@ -38,8 +38,8 @@ using std::string;
bool stat_file(const char* path, Stat* result) {
#if defined(COMPILER_MSVC) || defined(__CYGWIN__)
std::wstring wpath;
- if (!blaze_util::AsWindowsPathWithUncPrefix(path, &wpath)) {
- blaze_util::pdie(255, "stat_file: AsWindowsPathWithUncPrefix(%s)", path);
+ if (!blaze_util::AsAbsoluteWindowsPath(path, &wpath)) {
+ blaze_util::pdie(255, "stat_file: AsAbsoluteWindowsPath(%s)", path);
}
bool success = false;
BY_HANDLE_FILE_INFORMATION info;