From 5f28e5b851f45a1b3f264e80abcd94605204ed14 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Mon, 20 Jun 2022 19:26:35 -0700 Subject: [PATCH] Removed training newline from fprint_comma in comma.cal --- cal/comma.cal | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cal/comma.cal b/cal/comma.cal index 08b68b5..c1ee634 100644 --- a/cal/comma.cal +++ b/cal/comma.cal @@ -428,7 +428,8 @@ define fprint_comma(fd, x, group, decimal) * print converted string */ if (isstr(ret) && isfile(fd)) { - fprintf(fd, "%s\n", ret); + fprintf(fd, "%s", ret); + fflush(fd); } return ret; }