From 754718acde457500f1ed21260b89ba8935735b58 Mon Sep 17 00:00:00 2001 From: Michael Greenberg Date: Mon, 24 Feb 2025 17:07:51 -0500 Subject: [PATCH] =?UTF-8?q?avoid=20printf,=20save=2010=CE=BCs?= 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) {