[Mutt] #3277: smime_keys uses obsolete perl module
#3277: smime_keys uses obsolete perl module
-------------------------+--------------------------------------------------
Reporter: raorn | Owner: mutt-dev
Type: enhancement | Status: new
Priority: trivial | Milestone:
Component: mutt | Version:
Keywords: |
-------------------------+--------------------------------------------------
Description From Alexey Tourbin 2005-06-11 10:23:28 (-) [reply]
/usr/lib/perl5/timelocal.pl:
;# This file has been superseded by the Time::Local library module.
;# It is implemented as a call to that module for backwards compatibility
;# with code written for perl4; new code should use Time::Local directly.
mutt1.5-alt-req-timelocal.patch:
--- smime_keys.pl- 2005-01-29 11:50:53 +0000
+++ smime_keys.pl 2005-06-11 06:16:35 +0000
@@ -23,7 +23,7 @@ use File::Copy;
umask 077;
-require "timelocal.pl";
+use Time::Local qw(timegm);
sub usage ();
sub newfile ($;$$);
(copy-pasted from https://bugzilla.altlinux.org/show_bug.cgi?id=7061)
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3277>
Mutt <http://www.mutt.org/>
The Mutt mail user agent