X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=util%2Flog.c;h=9319154139c9c0ae99606981f00952b6c6f82848;hp=c02512014dc36a325f033b6bc5cb1e182158f0df;hb=8c0d9ab51d716e170e6185dbfeb9462d91fb1a06;hpb=fe5f2da0c0c4ae00864cc72a36714e90405456e4 diff --git a/util/log.c b/util/log.c index c025120..9319154 100644 --- a/util/log.c +++ b/util/log.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: log.c,v $ - * Revision 1.3 1995-04-10 10:23:51 quinn + * Revision 1.4 1995-05-15 11:56:55 quinn + * Debuggng & adjustments. + * + * Revision 1.3 1995/04/10 10:23:51 quinn * Fixes. * * Revision 1.2 1995/03/31 10:16:55 quinn @@ -88,7 +91,7 @@ void log_init(int level, const char *prefix, const char *name) return; if (!(l_file = fopen(name, "a"))) return; - setbuffer(l_file, 0, 0); + setvbuf(l_file, 0, _IONBF, 0); } void logf(int level, const char *fmt, ...)