Loading changes/bug11233 0 → 100644 +4 −0 Original line number Diff line number Diff line o Minor features: - When we encounter an unexpected CR in text that we're trying to write to a file on Windows, log the name of the file. Should help diagnosing bug 11233. src/common/util.c +2 −1 Original line number Diff line number Diff line Loading @@ -2002,7 +2002,8 @@ write_str_to_file(const char *fname, const char *str, int bin) #ifdef _WIN32 if (!bin && strchr(str, '\r')) { log_warn(LD_BUG, "We're writing a text string that already contains a CR."); "We're writing a text string that already contains a CR to %s", escaped(fname)); } #endif return write_bytes_to_file(fname, str, strlen(str), bin); Loading Loading
changes/bug11233 0 → 100644 +4 −0 Original line number Diff line number Diff line o Minor features: - When we encounter an unexpected CR in text that we're trying to write to a file on Windows, log the name of the file. Should help diagnosing bug 11233.
src/common/util.c +2 −1 Original line number Diff line number Diff line Loading @@ -2002,7 +2002,8 @@ write_str_to_file(const char *fname, const char *str, int bin) #ifdef _WIN32 if (!bin && strchr(str, '\r')) { log_warn(LD_BUG, "We're writing a text string that already contains a CR."); "We're writing a text string that already contains a CR to %s", escaped(fname)); } #endif return write_bytes_to_file(fname, str, strlen(str), bin); Loading