Loading lib/memdebug.c +4 −0 Original line number Diff line number Diff line Loading @@ -73,6 +73,10 @@ void curl_memdebug(const char *logname) logfile = fopen(logname, "w"); else logfile = stderr; #ifdef MEMDEBUG_LOG_SYNC /* Flush the log file after every line so the log isn't lost in a crash */ setvbuf(logfile, (char *)NULL, _IOLBF, 0); #endif } } Loading Loading
lib/memdebug.c +4 −0 Original line number Diff line number Diff line Loading @@ -73,6 +73,10 @@ void curl_memdebug(const char *logname) logfile = fopen(logname, "w"); else logfile = stderr; #ifdef MEMDEBUG_LOG_SYNC /* Flush the log file after every line so the log isn't lost in a crash */ setvbuf(logfile, (char *)NULL, _IOLBF, 0); #endif } } Loading