[BusyBox 0000389]: Please modify "logread" in Busybox so that it flushes its output
bugs at busybox.net
bugs at busybox.net
Thu Dec 15 01:10:17 UTC 2005
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=389
======================================================================
Reported By: dwheeler
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 389
Category: New Features
Reproducibility: always
Severity: feature
Priority: normal
Status: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 08-17-2005 16:22 PDT
Last Modified: 12-14-2005 17:10 PST
======================================================================
Summary: Please modify "logread" in Busybox so that it
flushes its output
Description:
Hi - I'd like to set up a Busybox system to immediately trigger events to
occur
if certain events are logged. In particular,
I'd like to use "logread -f" to monitor output.
The problem is that "logread -f" does NOT flush its output immediately,
so I can't use it as it is.
Thus, in trunk/busybox/sysklogd/logread.c, would you please modify
the code to flushes the output after printf's? For example, please
change:
}
free(buf_data);
#endif
} while (follow);
So that after the "#endif" add this:
fflush(stdout);
Thanks.
======================================================================
----------------------------------------------------------------------
landley - 12-14-05 17:10
----------------------------------------------------------------------
svn 12845
Issue History
Date Modified Username Field Change
======================================================================
08-17-05 16:22 dwheeler New Issue
08-17-05 16:22 dwheeler Status new => assigned
08-17-05 16:22 dwheeler Assigned To => BusyBox
12-14-05 17:10 landley Status assigned => closed
12-14-05 17:10 landley Note Added: 0000764
======================================================================
More information about the busybox-cvs
mailing list