Date: Fri, 27 Aug 2010 21:26:55 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r211898 - head/sbin/hastd Message-ID: <201008272126.o7RLQtBP008040@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pjd Date: Fri Aug 27 21:26:55 2010 New Revision: 211898 URL: http://svn.freebsd.org/changeset/base/211898 Log: When logging to stdout/stderr, flush after each log. MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified: head/sbin/hastd/pjdlog.c Modified: head/sbin/hastd/pjdlog.c ============================================================================== --- head/sbin/hastd/pjdlog.c Fri Aug 27 21:20:32 2010 (r211897) +++ head/sbin/hastd/pjdlog.c Fri Aug 27 21:26:55 2010 (r211898) @@ -217,6 +217,7 @@ pjdlogv_common(int loglevel, int debugle if (error != -1) fprintf(out, ": %s.", strerror(error)); fprintf(out, "\n"); + fflush(out); break; } case PJDLOG_MODE_SYSLOG:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008272126.o7RLQtBP008040>