mirror of https://git.tukaani.org/xz.git
parent
7d3418e496
commit
9c9a3e7b3f
|
@ -160,11 +160,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.
|
||||
|
|
Loading…
Reference in New Issue