diff options
author | Jim Meyering <meyering@redhat.com> | 2008-05-06 00:35:28 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-05-06 00:35:28 +0200 |
commit | 2224ef83fe7c82b2643a62bc7f98a2f589660ce8 (patch) | |
tree | f14b780ceb973deba2290453eace82b75a7dc71d | |
parent | 0b66c5776e002c7e9df2925278c956196b3c1479 (diff) | |
download | coreutils-2224ef83fe7c82b2643a62bc7f98a2f589660ce8.tar.xz |
help2man: fix perl 5.10 problem properly
* man/help2man: Do pull LC_ALL via "use POSIX".
Instead, limit the importing of gettext-related symbols
to just those two we'll use: gettext and textdomain.
-rwxr-xr-x | man/help2man | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man/help2man b/man/help2man index 652fe9c3d..f0007358f 100755 --- a/man/help2man +++ b/man/help2man @@ -24,7 +24,7 @@ use 5.005; use strict; use Getopt::Long; use Text::Tabs qw(expand); -use POSIX qw(strftime setlocale); +use POSIX qw(strftime setlocale LC_ALL); use locale; my $this_program = 'help2man'; @@ -34,7 +34,7 @@ my $have_gettext; BEGIN { eval { require Locale::gettext; - Locale::gettext->import; + Locale::gettext->import (qw(gettext textdomain)); $have_gettext = 1; }; |