From 24ae41f8f3454e3eb2608d15ab3d8c3fdf3acf33 Mon Sep 17 00:00:00 2001 From: ad Date: Thu, 14 Dec 2006 20:39:04 +0000 Subject: Set _IOLBF on stdout. --- lib/libpthread/debuglog.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/libpthread/debuglog.c') diff --git a/lib/libpthread/debuglog.c b/lib/libpthread/debuglog.c index 427833a00ec..fd3a112956c 100644 --- a/lib/libpthread/debuglog.c +++ b/lib/libpthread/debuglog.c @@ -1,4 +1,4 @@ -/* $NetBSD: debuglog.c,v 1.5 2003/08/20 09:50:16 martin Exp $ */ +/* $NetBSD: debuglog.c,v 1.6 2006/12/14 20:39:04 ad Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -65,6 +65,8 @@ main(int argc, char *argv[]) int follow, initialize, raw, keep; + setvbuf(stdout, NULL, _IOLBF, BUFSIZ); + follow = 0; initialize = 0; raw = 0; -- cgit