SHA256
1
0
forked from pool/perl
perl/perl-5.18.2-overflow.diff
Stephan Kulow 35d79e87c3 Accepting request 313011 from home:hsk17:branches:devel:languages:perl
update to 5.22.0

regarding the .spec file:  i have updated the "(Provides|Obsoletes): perl-*" directives to reflect the module versions provided by perl-5.22.0.  but only for the modules that already were mentioned in the .spec file.  i cannot judge why these are in the .spec file  while many others are not.

OBS-URL: https://build.opensuse.org/request/show/313011
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=130
2015-06-23 19:23:16 +00:00

12 lines
587 B
Diff

--- sv.c.bak 2014-03-24 15:11:48.007595042 +0100
+++ sv.c 2014-03-25 11:57:41.154752451 +0100
@@ -2175,7 +2175,7 @@ S_sv_2iuv_common(pTHX_ SV *const sv)
#ifndef NV_PRESERVES_UV
&& SvIVX(sv) != IV_MIN /* avoid negating IV_MIN below */
&& (((UV)1 << NV_PRESERVES_UV_BITS) >
- (UV)(SvIVX(sv) > 0 ? SvIVX(sv) : -SvIVX(sv)))
+ (UV)(SvIVX(sv) > 0 ? (UV)SvIVX(sv) : -(UV)SvIVX(sv)))
/* Don't flag it as "accurately an integer" if the number
came from a (by definition imprecise) NV operation, and
we're outside the range of NV integer precision */