[Toybox] [PATCH] dmesg -w output shouldn't be buffered.

enh enh at google.com
Fri Dec 9 15:32:47 PST 2016


I don't think it makes much difference whether we use setvbuf(3) or flush
at the end of each line; I went with the latter just because when we're
coloring, each line is made up of several separate chunks.
---
 toys/lsb/dmesg.c | 2 ++
 1 file changed, 2 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dmesg-w-output-shouldn-t-be-buffered.patch
Type: text/x-patch
Size: 783 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20161209/1a7a1a0d/attachment-0003.bin>


More information about the Toybox mailing list