From: Sergey Poznyakoff Date: Tue, 21 Dec 2004 13:24:00 +0000 (+0000) Subject: (main): Protect invocation of setlocale by ifdef. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=b5c890b887654f18a4639787758ecce45c4cb9b0;p=chaz%2Ftar (main): Protect invocation of setlocale by ifdef. --- diff --git a/src/tar.c b/src/tar.c index 31d7d30..74a177d 100644 --- a/src/tar.c +++ b/src/tar.c @@ -1621,6 +1621,7 @@ main (int argc, char **argv) { set_start_time (); program_name = argv[0]; + setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE);