--- parser3/src/targets/cgi/parser3.C 2002/12/05 09:41:56 1.207 +++ parser3/src/targets/cgi/parser3.C 2002/12/05 10:08:59 1.208 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_PARSER3_C="$Date: 2002/12/05 09:41:56 $"; +static const char* IDENT_PARSER3_C="$Date: 2002/12/05 10:08:59 $"; #include "pa_config_includes.h" @@ -88,6 +88,9 @@ static void log(const char *fmt, va_list if(!opened) f=stderr; + // use no memory [so that we could log out-of-memory error] + setbuf(f, 0); // stderr stream is unbuffered by default, but still... + // prefix time_t t=time(0); if(const char *stamp=ctime(&t)) { // never saw that