diff options
| author | ad <ad@NetBSD.org> | 2006-12-14 20:39:04 +0000 |
|---|---|---|
| committer | ad <ad@NetBSD.org> | 2006-12-14 20:39:04 +0000 |
| commit | 24ae41f8f3454e3eb2608d15ab3d8c3fdf3acf33 (patch) | |
| tree | a9bda5fe13fe57066795d7a08beda55525130d41 /lib/libpthread/debuglog.c | |
| parent | f6b748e0c738c662d1376c066e658a78a1106f64 (diff) | |
Set _IOLBF on stdout.
Diffstat (limited to 'lib/libpthread/debuglog.c')
| -rw-r--r-- | lib/libpthread/debuglog.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; |
