From 67052d8f20725f3cdc22ffaec33f7b7c14f1eb6b Mon Sep 17 00:00:00 2001 From: Michael Greenberg Date: Mon, 24 Feb 2025 19:56:13 -0500 Subject: [PATCH] =?UTF-8?q?s/printf/fputs/=20in=20try-summary,=20save=2010?= =?UTF-8?q?=CE=BCs=20(#192)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/try-summary.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/utils/try-summary.c b/utils/try-summary.c index fb704391..84a06d2b 100644 --- a/utils/try-summary.c +++ b/utils/try-summary.c @@ -18,10 +18,13 @@ static int changes_detected = 0; void show_change(char *local_file, char *msg) { if (!changes_detected) { changes_detected += 1; - printf("\nChanges detected in the following files:\n\n"); + fputs("\nChanges detected in the following files:\n\n", stdout); } - printf("%s (%s)\n", local_file, msg); + fputs(local_file, stdout); + fputs(" (", stdout); + fputs(msg, stdout); + fputs(")\n", stdout); } void usage(int status) {