develooper Front page | perl.perl5.porters | Postings from January 2012

[perl #108952] [PATCH] 97df921 fix PerlIO-scalar test when unpack J fails

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
January 24, 2012 09:26
Subject:
[perl #108952] [PATCH] 97df921 fix PerlIO-scalar test when unpack J fails
Message ID:
rt-3.6.HEAD-14510-1327425975-658.108952-15-0@perl.org
On Tue Jan 24 09:14:08 2012, rurban wrote:
> The reason of the failure is Config::Config{ptrsize} == 
> $Config::Config{intsize}.
> On the failing platform it is 4 vs 8.
> 
> So use unpack "I" instead.

Eric Brine’s patch has already been applied as 6fa2c250307, but yours
looks more robust to me, er, I *think*.

Is it guaranteed that unpack "J" will return undef in those cases where
it fails?

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=108952

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