ploot

plot images or real-time plain text from a .csv file
Log | Files | Refs | README

commit d7624d60484f10f1473317b508ff481b8acc1ae9
parent 98e410eed716d9673c93a5a6f133905df23e8cc3
Author: Josuah Demangeon <mail@josuah.net>
Date:   Mon,  7 May 2018 02:51:37 +0200

setvbuf(..., _IOLBF, ...) to make sure lines get read right away

Diffstat:
Mplootxt.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/plootxt.c b/plootxt.c @@ -228,6 +228,7 @@ main(int argc, char **argv) int ncol, nmax; char *labv[LINE_MAX / 2], labels[LINE_MAX]; + setvbuf(stdin, NULL, _IOLBF, 0); nmax = parse_args(argc, argv, max); ncol = read_labels(labv); width = (wflag - sizeof("XXxXXxXX _")) / ncol - sizeof("|");