pkgsrc-Bugs archive

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

Re: pkg/43823: bug in p5-Time-modules - perl 5.12



The following reply was made to PR pkg/43823; it has been noted by GNATS.

From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/43823: bug in p5-Time-modules - perl 5.12
Date: Fri, 25 Feb 2011 20:56:16 +0900

 On Wed, 01 Sep 2010 05:15:01 +0900, <sd4dfg2%hotmail.com@localhost> wrote:
 
 > Use of uninitialized value $ampm in uc at 
 > /usr/pkg/lib/perl5/vendor_perl/5.12.0/Time/ParseDate.pm line 733, <$PIPE> 
 > line 272.
 >
 > If you google you can see automated cpan tests reporting it too, including 
 > one that seems to email the author.  I don't see any fixes posted on cpan.
 >> How-To-Repeat:
 >
 >> Fix:
 > I think the fix is to check that $ampm is defined on line 733 before 
 > comparing it to "AM", just like is done on line 732 when it's compared to 
 > "PM".
 
 This one?
 https://rt.cpan.org/Public/Bug/Display.html?id=60705
 
 -- 
 OBATA Akio / obache%NetBSD.org@localhost
 


Home | Main Index | Thread Index | Old Index