[Hatchet-users] Hatchet fix for "Transaction aborted"

Justin Krejci jus at krytosvirus.com
Thu May 12 06:39:19 EDT 2005


Good to hear. I had already started thinking Hatchet was done for since this 
list had been so quiet. I will likely re-install Hatchet on my shiny new 
openbsd 3.7 box when 3.7 is released and I get it installed.

On Wednesday 11 May 2005 04:00 pm, Jason Dixon wrote:
> Hi folks-
>
> Is anyone out there?  :)
>
> I hope to have an update to Hatchet out no later than this weekend,
> maybe sooner.  I just got a very helpful fix from Humberto Sartini
> regarding the "Transaction aborted... date out of range" error.  I
> missed that there's a method in Time::Local called timelocal_nocheck()
> that avoids the range checking that's been causing us all headaches
> with Hatchet.  The following changes should provide relief for anyone
> suffering this error:
>
> (hatchet, v.0.7.1)
>
> Line 11:  use Time::Local 'timelocal_nocheck';   #optional
> Line 170: my $epoch = timelocal_nocheck($sec, $min, $hour, $mday,
> $months{$month}, $year);
> Line 205: my $epoch = timelocal_nocheck($sec, $min, $hour, $mday,
> $months{$month}, $year);
>
>
> Thanks,
>
> --
> Jason Dixon
> DixonGroup Consulting
> http://www.dixongroup.net
>
> _______________________________________________
> Hatchet-users mailing list
> Hatchet-users at dixongroup.net
> http://www.dixongroup.net/mailman/listinfo/hatchet-users

-- 
Public key http://www.krytosvirus.com/public.asc


More information about the Hatchet-users mailing list