diff options
author | hunt <hunt> | 2006-05-18 17:56:42 +0000 |
---|---|---|
committer | hunt <hunt> | 2006-05-18 17:56:42 +0000 |
commit | 1e6f6015ab7a5918fc3a84bbeef34876169f1ff9 (patch) | |
tree | 58cd4980dca493338a3f9f6ad8fc5f9285cc7bf1 /runtime/stpd/librelay.c | |
parent | 739aa6f5209c3756d42de8380107f49891044bd8 (diff) | |
download | systemtap-steved-1e6f6015ab7a5918fc3a84bbeef34876169f1ff9.tar.gz systemtap-steved-1e6f6015ab7a5918fc3a84bbeef34876169f1ff9.tar.xz systemtap-steved-1e6f6015ab7a5918fc3a84bbeef34876169f1ff9.zip |
2006-05-18 Martin Hunt <hunt@redhat.com>
* librelay.c (stp_main_loop): Set output to always be line
buffered.
Diffstat (limited to 'runtime/stpd/librelay.c')
-rw-r--r-- | runtime/stpd/librelay.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/stpd/librelay.c b/runtime/stpd/librelay.c index 47cb8bd6..32ac5415 100644 --- a/runtime/stpd/librelay.c +++ b/runtime/stpd/librelay.c @@ -722,6 +722,7 @@ int stp_main_loop(void) int type; FILE *ofp = stdout; + setvbuf(ofp, (char *)NULL, _IOLBF, 0); pthread_mutex_init(&processing_mutex, NULL); signal(SIGINT, sigproc); |