chiark / gitweb /
clients/disorder.c: Force line buffering when writing log.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 21 Jul 2018 14:26:21 +0000 (15:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 21 Jul 2018 14:26:21 +0000 (15:26 +0100)
commit2af0fbca5e21d6ffa9663ff96b8a8f5d13c262d2
treeaf183123ce06edda33f6ddb933aa454f182750c8
parent96e33120019a037c4a66e7c0b726484935449974
clients/disorder.c: Force line buffering when writing log.

Otherwise it looks fine on a terminal, but that's not very useful.  If a
program tries to read the log over a pipe, then it sees nothing for a
good long while until the buffer gets flushed.

This change is specific to the `log' command.  Output for other commands
comes out at the same time anyway.
clients/disorder.c