I do not understand what this patch accomplishes. stdout is line buffered. All of hwclock -c output ends with \n, which flushes the buffer. Then we flush it again with fflush? What am I missing? On 04/27/2015 04:27 AM, Karel Zak wrote: > On Thu, Apr 16, 2015 at 05:26:27PM +0200, Alexey Galakhov wrote: >> This allows using hwclock -c in automated test scripts that parse >> its output line-by-line. The standard output is flushed before >> each 10 second delay. >> >> Signed-off-by: Alexey Galakhov <agalakhov@xxxxxxxxx> >> --- >> sys-utils/hwclock.c | 1 + >> 1 file changed, 1 insertion(+) > > Applied, thanks. We will see shat happen in future... > > Karel > -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html