[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnupod] problems with sign overflow for addtime?
From: |
Adrian Ulrich |
Subject: |
Re: [Bug-gnupod] problems with sign overflow for addtime? |
Date: |
Mon, 10 Jan 2005 10:32:14 +0100 |
Hi Scott,
> If I add songs via gnupod I see negative 'addtime's
> [...]
> #sum: -1106726505
> #sum fixed: 3188240791
Hmm, this is very odd..
> Is my installation screwed up or is this a problem with this version of perl,
> or...
Looks like a perl5.6 problem (Bug?). Perl5.8 works fine.. hmm..
I don't know why this fails on perl5.6.. I'll have to look at the perldelta
documents..
Or maybe google knows it ;)
As a quick fix: Changing
use constant MACTIME => 2082931200;
into
use constant MACTIME => 2082931200.0;
seems to make perl5.6 happy..
-- Adrian
pgpR0WrVQ6z07.pgp
Description: PGP signature