bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI, help2man change required for perl 5.10


From: Jim Meyering
Subject: FYI, help2man change required for perl 5.10
Date: Mon, 05 May 2008 22:54:12 +0200

>From 58525a9ce493cb71fde6f74e036d627c9c65bec0 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Mon, 5 May 2008 22:44:57 +0200
Subject: [PATCH] help2man: avoid failure with perl 5.10

Avoid failure that produced this diagnostic:
Constant subroutine main::LC_ALL redefined at /.../Exporter.pm
* man/help2man: Don't include LC_ALL in the "use POSIX" list,
since Locale::gettext->import will get it.

Signed-off-by: Jim Meyering <address@hidden>
---
 man/help2man |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/man/help2man b/man/help2man
index 18c0189..018d2a8 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 LC_ALL);
+use POSIX qw(strftime setlocale);
 use locale;

 my $this_program = 'help2man';
--
1.5.5.1.126.g02179




reply via email to

[Prev in Thread] Current Thread [Next in Thread]