projects
/
debian
/
tar
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
368172b
)
(main): Protect invocation of setlocale by ifdef.
author
Sergey Poznyakoff
<gray@gnu.org.ua>
Tue, 21 Dec 2004 14:44:15 +0000
(14:44 +0000)
committer
Sergey Poznyakoff
<gray@gnu.org.ua>
Tue, 21 Dec 2004 14:44:15 +0000
(14:44 +0000)
src/tar.c
patch
|
blob
|
history
diff --git
a/src/tar.c
b/src/tar.c
index 74a177deea5753d8cb9ff5dd76f07827daf05f28..a112abf9a950eda544cf50387640f62e06e79d55 100644
(file)
--- a/
src/tar.c
+++ b/
src/tar.c
@@
-1622,7
+1622,9
@@
main (int argc, char **argv)
set_start_time ();
program_name = argv[0];
+#ifdef HAVE_SETLOCALE
setlocale (LC_ALL, "");
+#endif
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);