xz: Tweak comments.

(cherry picked from commit 7312dfbb02)
This commit is contained in:
Lasse Collin 2024-02-17 23:07:35 +02:00
parent 7d3418e496
commit 9c9a3e7b3f
1 changed files with 3 additions and 1 deletions

View File

@ -160,11 +160,13 @@ main(int argc, char **argv)
InitializeCriticalSection(&exit_status_cs); InitializeCriticalSection(&exit_status_cs);
#endif #endif
// Set up the progname variable. // Set up the progname variable needed for messages.
tuklib_progname_init(argv); tuklib_progname_init(argv);
// Initialize the file I/O. This makes sure that // Initialize the file I/O. This makes sure that
// stdin, stdout, and stderr are something valid. // 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(); io_init();
// Set up the locale and message translations. // Set up the locale and message translations.