version 1.3, 2022/02/22 16:14:38 |
version 1.4, 2022/02/22 23:24:09 |
|
|
* loop held true due to a rounding error and we still need to print |
* loop held true due to a rounding error and we still need to print |
* 'last'. |
* 'last'. |
*/ |
*/ |
asprintf(&cur_print, fmt, cur); |
if (asprintf(&cur_print, fmt, cur) == -1 || |
asprintf(&last_print, fmt, last); |
asprintf(&last_print, fmt, last) == -1) |
|
err(1, "asprintf"); |
if (strcmp(cur_print, last_print) == 0 && cur != last_shown_value) { |
if (strcmp(cur_print, last_print) == 0 && cur != last_shown_value) { |
if (cur != first) |
if (cur != first) |
fputs(sep, stdout); |
fputs(sep, stdout); |