Commit 4202897d authored by Magnus Svensson's avatar Magnus Svensson
Browse files

Open result file in binary moe to avoid CR/LF problems

parent 00560ac3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -517,7 +517,7 @@ class LogFile {

    DBUG_PRINT("info", ("file_name: %s", m_file_name));

    if ((m_file= fopen(m_file_name, "w+")) == NULL)
    if ((m_file= fopen(m_file_name, "wb+")) == NULL)
      die("Failed to open log file %s, errno: %d", m_file_name, errno);

    DBUG_VOID_RETURN;