Skip Menu |
 

This queue is for tickets about the Archive-Zip CPAN distribution.

Report information
The Basics
Id: 7225
Status: resolved
Priority: 0/
Queue: Archive-Zip

People
Owner: Nobody in particular
Requestors: ron [...] savage.net.au
rsav [...] deakin.edu.au
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.12_03
Fixed in: (no value)



Subject: Time::Local problem with V 1.12_03
Download (untitled) / with headers
text/plain 15.3k

Message body is not shown because it is too large.

Download (untitled) / with headers
text/plain 1.3k
[guest - Mon Aug 2 21:18:58 2004]: Show quoted text
> After running 'nmake' I tried t/test.t. > Note: Local time is wrong. It is actually 11:15:15. > > C:\perl-modules\Archive-Zip-1.12_03>perl t/test.t > 1..123 > # Running under perl version 5.008004 for MSWin32 > # Win32::BuildNumber 810 > # Current time local: Tue Aug 3 01:15:15 2004 > # Current time GMT: Tue Aug 3 01:15:15 2004 > # Using Test.pm version 1.25
[snip] Show quoted text
> Use of uninitialized value in integer addition (+) at > c:/Perl/lib/Time/Local.pm line 76. > Use of uninitialized value in integer multiplication (*) at > c:/Perl/lib/Time/Local.pm line 76. > Use of uninitialized value in integer multiplication (*) at > c:/Perl/lib/Time/Local.pm line 76.
I don't know. I don't think this is an A::Z problem, and I can't do anything to fix it AFAICT. Sounds like a Time::Local problem, since: (a) I'm passing numbers to it, not undefs (you'd see an earlier error if there were any undefs since I'm doing math on them), and (b) it says that it does range checks on the arguments to timelocal(). Are you sure that you have the most recent version of this module? Does the Time::Local test suite run OK? What happens when you say: perl -W -MTime::Local -e 'print Time::Local::timelocal( localtime() )' If you see the same things, please take it up with the module maintainer. Can you run the debugger on it and see what's happening? Thanks, Ned
From: Steve Peters
Download (untitled) / with headers
text/plain 1.6k
[NEDKONZ - Mon Aug 2 21:48:06 2004]: Show quoted text
> [guest - Mon Aug 2 21:18:58 2004]: >
> > After running 'nmake' I tried t/test.t. > > Note: Local time is wrong. It is actually 11:15:15. > > > > C:\perl-modules\Archive-Zip-1.12_03>perl t/test.t > > 1..123 > > # Running under perl version 5.008004 for MSWin32 > > # Win32::BuildNumber 810 > > # Current time local: Tue Aug 3 01:15:15 2004 > > # Current time GMT: Tue Aug 3 01:15:15 2004 > > # Using Test.pm version 1.25
> [snip]
> > Use of uninitialized value in integer addition (+) at > > c:/Perl/lib/Time/Local.pm line 76. > > Use of uninitialized value in integer multiplication (*) at > > c:/Perl/lib/Time/Local.pm line 76. > > Use of uninitialized value in integer multiplication (*) at > > c:/Perl/lib/Time/Local.pm line 76.
> > I don't know. I don't think this is an A::Z problem, and I can't do > anything to fix it AFAICT. > > Sounds like a Time::Local problem, since: > (a) I'm passing numbers to it, not undefs (you'd see an earlier error if > there were any undefs since I'm doing math on them), and > (b) it says that it does range checks on the arguments to timelocal(). > > Are you sure that you have the most recent version of this module? > > Does the Time::Local test suite run OK? > > What happens when you say: > > perl -W -MTime::Local -e 'print Time::Local::timelocal( localtime() )' > > If you see the same things, please take it up with the module maintainer. > > Can you run the debugger on it and see what's happening? > > Thanks, > Ned
Actually, there is a problem with Time::Local's handling of negative epochs on Win32. This problem has been fixed with Time::Local version 1.11. This is not a bug in Archive::Zip.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.