Dylan K. Taylor
3 vuotta sitten
vanhempi
commit
68d14a723a
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D
1 muutettua tiedostoa jossa
1 lisäystä ja
1 poistoa
-
util/env_windows.cc
|
|
@ -622,7 +622,7 @@ class WindowsEnv : public Env { |
|
|
|
} |
|
|
|
|
|
|
|
Status NewLogger(const std::string& filename, Logger** result) override { |
|
|
|
std::FILE* fp = std::fopen(filename.c_str(), "w"); |
|
|
|
std::FILE* fp = std::fopen(filename.c_str(), "wN"); |
|
|
|
if (fp == nullptr) { |
|
|
|
*result = nullptr; |
|
|
|
return WindowsError(filename, ::GetLastError()); |
|
|
|