summaryrefslogtreecommitdiff
path: root/src/FileEntry.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-08-04 21:43:02 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-08-04 21:43:02 +0900
commit3879da592d689d551778b710c21c8a95d2874ab3 (patch)
tree121df06eeb860738ff2c5b6abd3c89fb8b09db7b /src/FileEntry.cc
parent45686860e1b5e94bfa8fa95603f101cce53ed4b1 (diff)
In MinGW32, open file with UNICODE filename and print them in ANSI.
Diffstat (limited to 'src/FileEntry.cc')
-rw-r--r--src/FileEntry.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FileEntry.cc b/src/FileEntry.cc
index 355883f5..3fa5a900 100644
--- a/src/FileEntry.cc
+++ b/src/FileEntry.cc
@@ -355,7 +355,7 @@ void FileEntry::removeURIWhoseHostnameIs(const std::string& hostname)
}
A2_LOG_DEBUG(fmt("Removed %lu duplicate hostname URIs for path=%s",
static_cast<unsigned long>(uris_.size()-newURIs.size()),
- getPath().c_str()));
+ utf8ToNative(getPath()).c_str()));
uris_.swap(newURIs);
}