develooper Front page | perl.perl5.porters | Postings from July 2001

Re: [PATCH] Re: op/arith.t

Thread Previous | Thread Next
From:
Norton Allen
Date:
July 7, 2001 05:45
Subject:
Re: [PATCH] Re: op/arith.t
Message ID:
200107071252.IAA19832@bottesini.harvard.edu
Nicholas Clark wrote:
> 
> On Fri, Jul 06, 2001 at 05:20:53PM -0400, Norton Allen wrote:
> > Nicholas Clark wrote:
> > > My hunch is that your strtol isn't setting errno correctly.
> > 
> >   strtol() is OK: It's strtoul that doesn't set errno.
> 
> The appended patch makes toke.c use grok_number rather than strtol and
> strtoul [or atol()], which removes some more conditionally compiled code
> from perl.
> I found I hadn't quite got the length checking code in grok_number correct,
> hence the patch to numeric.c

  It works for me and solves one of my outstanding test failures.
  Thanks, Nick! -Norton

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About