develooper Front page | perl.perl5.porters | Postings from November 2003

Re: [perl #24501] h2ph dies on >64-bit integers

Thread Previous
From:
Slaven Rezic
Date:
November 16, 2003 12:05
Subject:
Re: [perl #24501] h2ph dies on >64-bit integers
Message ID:
878ymgw06d.fsf@vran.herceg.de
Andrew Church (via RT) <perlbug-followup@perl.org> writes:

> # New Ticket Created by  Andrew Church 
> # Please include the string:  [perl #24501]
> # in the subject line of all future correspondence about this issue. 
> # <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24501 >
> 
> 
> 
> This is a bug report for perl from perlbug@achurch.org,
> generated with the help of perlbug 1.34 running under perl v5.8.2.
> 
> 
> -----------------------------------------------------------------
> [Please enter your report here]
> 
> h2ph causes an integer overflow error and dies when used on an include file
> containing a hexadecimal constant wider than 64 bits.  Such a constant can
> be found, for example, in bn.h (line 108) from OpenSSL 0.9.7c:
> 
> #define BN_MASK		(0xffffffffffffffffffffffffffffffffLL)
> 
> Attempting to run this file through h2ph causes the error:
> 
> Integer overflow in hexadecimal number at /usr/bin/h2ph line 302, <IN> line 108.
> 
> The following patch serves to at least prevent this error from causing h2ph
> to abort.  I'm not sure what the proper behavior should be, so I'll leave
> that to those who do.
> 
[...]

It's just a warning, not an error. And it does not die on my system.

Regards,
        Slaven

-- 
Slaven Rezic - slaven@rezic.de

    tknotes - A knotes clone, written in Perl/Tk.
    http://ptktools.sourceforge.net/#tknotes

Thread Previous


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