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 | |
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')
-rw-r--r-- | runtime/stpd/ChangeLog | 5 | ||||
-rw-r--r-- | runtime/stpd/librelay.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/runtime/stpd/ChangeLog b/runtime/stpd/ChangeLog index 21f8f2c9..d2f4efae 100644 --- a/runtime/stpd/ChangeLog +++ b/runtime/stpd/ChangeLog @@ -1,3 +1,8 @@ +2006-05-18 Martin Hunt <hunt@redhat.com> + + * librelay.c (stp_main_loop): Set output to always be line + buffered. + 2006-04-08 Martin Hunt <hunt@redhat.com> * librelay.c (stp_main_loop): Write with fwrite() instead 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); |