Replace all printf invocations with wprintf

Remember, GNU doesn't allow mixing narrow and wide IO.
This commit is contained in:
Fabian Homborg
2017-01-06 18:19:42 +01:00
parent 69005f8c60
commit 177e06808c
10 changed files with 11 additions and 11 deletions

View File

@@ -25,7 +25,7 @@
static const int kAutoloadStalenessInterval = 15;
file_access_attempt_t access_file(const wcstring &path, int mode) {
// printf("Touch %ls\n", path.c_str());
// wprintf(L"Touch %ls\n", path.c_str());
file_access_attempt_t result = {};
struct stat statbuf;
if (wstat(path, &statbuf)) {