Explorar el Código

Merge pull request #941 from pmmp:no-handle-inheritance

PiperOrigin-RevId: 412997201
main
Victor Costan hace 2 años
padre
commit
e426c83e88
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      util/env_windows.cc

+ 1
- 1
util/env_windows.cc Ver fichero

@ -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());

Cargando…
Cancelar
Guardar