SMOLNET PORTAL home about changes
iback to space-separated values - ploot - simple plotting tools	Err	bitreich.org	70
hgit clone git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/ploot	URL:git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/ploot	bitreich.org	70
1Log	/scm/ploot/log.gph	bitreich.org	70
1Files	/scm/ploot/files.gph	bitreich.org	70
1Refs	/scm/ploot/refs.gph	bitreich.org	70
1Tags	/scm/ploot/tag	bitreich.org	70
1README	/scm/ploot/file/README.md.gph	bitreich.org	70
1LICENSE	/scm/ploot/file/LICENSE.gph	bitreich.org	70
i---	Err	bitreich.org	70
1commit ae31e2f1bccbf48ba05d29941119f73b34e1a66b	/scm/ploot/commit/ae31e2f1bccbf48ba05d29941119f73b34e1a66b.gph	bitreich.org	70
1parent f72c330d6fe40feff1b8295650056525a5905e15	/scm/ploot/commit/f72c330d6fe40feff1b8295650056525a5905e15.gph	bitreich.org	70
hAuthor: Josuah Demangeon <mail@josuah.net>	URL:mailto:mail@josuah.net	bitreich.org	70
iDate:   Wed,  7 Feb 2018 11:56:14 +0100	Err	bitreich.org	70
i	Err	bitreich.org	70
iback to space-separated values	Err	bitreich.org	70
i	Err	bitreich.org	70
iDiffstat:	Err	bitreich.org	70
i  M ploot.c                             |       4 ++--	Err	bitreich.org	70
i	Err	bitreich.org	70
i1 file changed, 2 insertions(+), 2 deletions(-)	Err	bitreich.org	70
i---	Err	bitreich.org	70
1diff --git a/ploot.c b/ploot.c	/scm/ploot/file/ploot.c.gph	bitreich.org	70
i@@ -183,7 +183,7 @@ read_simple(double buf[MAX_VAL])	Err	bitreich.org	70
i }	Err	bitreich.org	70
i 	Err	bitreich.org	70
i /*	Err	bitreich.org	70
i- * Read a format with comma separated time_t-double pairs, one per line and save	Err	bitreich.org	70
i+ * Read a format with blank separated time_t-double pairs, one per line and save	Err	bitreich.org	70
i  * the last `MAX_WIDTH' values into `tbuf' and `vbuf' which must both be at	Err	bitreich.org	70
i  * least MAX_VAL wide and return a pointer to the last element of `vbuf' or	Err	bitreich.org	70
i  * NULL if the input contains error.	Err	bitreich.org	70
i@@ -196,7 +196,7 @@ read_time_series(double *vbuf, time_t *tbuf)	Err	bitreich.org	70
i         time_t        trbuf[MAX_VAL], tval;	Err	bitreich.org	70
i 	Err	bitreich.org	70
i         len = LEN(vrbuf);	Err	bitreich.org	70
i-        for (p = pos = 0; scanf("%lf,%lf\n", &dval, &vval) > 0; p++) {	Err	bitreich.org	70
i+        for (p = pos = 0; scanf("%lf %lf\n", &dval, &vval) > 0; p++) {	Err	bitreich.org	70
i                 tval = (time_t)dval;	Err	bitreich.org	70
i                 RING_ADD(trbuf, len, pos, tval);	Err	bitreich.org	70
i                 RING_ADD(vrbuf, len, nul, vval);	Err	bitreich.org	70
.
Response: text/plain
Original URLgopher://bitreich.org/0/scm/ploot/commit/ae31e2f1bccbf48b...
Content-Typetext/plain; charset=utf-8