BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000389 [BusyBox] New Features feature always 08-17-05 16:22 12-14-05 17:10
Reporter dwheeler View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version 1.00
Summary 0000389: 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.
Additional Information
Attached Files

- Relationships

- Notes
(0000764)
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
12-14-05 17:10 landley Resolution open => fixed
12-14-05 17:10 landley Fixed in Version  => svn


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker