diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-12-21 09:02:01 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-12-21 09:02:01 +0000 |
commit | 9ecaee9832778775230677b7f590d276976c5b0f (patch) | |
tree | 5b1fcf9ebbc8416f028388d0b3149a37b2f2b3a5 /rmt | |
parent | bdcdca165c83e69f2854530c4fcd29e0c178f591 (diff) | |
download | paxutils-9ecaee9832778775230677b7f590d276976c5b0f.tar.gz |
(main): Protect NLS initialization by #ifdef ENABLE_NLS
Diffstat (limited to 'rmt')
-rw-r--r-- | rmt/rmt.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -281,9 +281,12 @@ main (int argc, char *const *argv) tar, on messages found within error packets. */ program_name = argv[0]; + +#ifdef ENABLE_NLS setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); +#endif switch (getopt_long (argc, argv, "", long_opts, NULL)) { |