From d800c85838517efe0f67b14fb9a0d5ec8b586aae Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sat, 17 Feb 2024 23:07:35 +0200 Subject: [PATCH] xz: Tweak comments. (cherry picked from commit 7312dfbb02197c7f990c7a3cefd027a9387d1473) (cherry picked from commit 9c9a3e7b3f70b214cfdc2aada90d28a54466a5db) --- src/xz/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/xz/main.c b/src/xz/main.c index 90bb69fd..e761bf8e 100644 --- a/src/xz/main.c +++ b/src/xz/main.c @@ -146,11 +146,13 @@ main(int argc, char **argv) InitializeCriticalSection(&exit_status_cs); #endif - // Set up the progname variable. + // Set up the progname variable needed for messages. tuklib_progname_init(argv); // Initialize the file I/O. This makes sure that // stdin, stdout, and stderr are something valid. + // This must be done before we might open any files + // even indirectly like locale and gettext initializations. io_init(); // Set up the locale and message translations.