summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2017-12-16 01:44:32 +0000
committerZefram <zefram@fysh.org>2017-12-16 01:47:27 +0000
commite1b825c19be2a160b0a3b633eb68e8d61887d21e (patch)
tree8b7c6734d5aca057e23b09e9c20fb632e4d8d629 /pod
parent3cd7355842a93fd631e01d9a1d60806b4cdbf5f0 (diff)
downloadperl-e1b825c19be2a160b0a3b633eb68e8d61887d21e.tar.gz
widen size-type variables in pack/unpack
Most size-type variables in pp_pack.c were of type I32, with a smattering of other types. Use SSize_t in place of I32, and generally use size_t-width variables as appropriate. Fixes [perl #119367].
Diffstat (limited to 'pod')
-rw-r--r--pod/perldelta.pod11
1 files changed, 11 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index f78c0ddfe0..8ea83006a0 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -57,6 +57,12 @@ digit to appear after the radix point. The digits are now restricted
to those appropriate for the radix, as digits before the radix point
always were.
+=head2 Return type of C<unpackstring()>
+
+The return types of the C API functions C<unpackstring()> and
+C<unpack_str()> have changed from C<I32> to C<SSize_t>, in order to
+accommodate datasets of more than two billion items.
+
=head1 Deprecations
XXX Any deprecated features, syntax, modules etc. should be listed here.
@@ -558,6 +564,11 @@ XXX
=item *
+C<pack> and C<unpack> can now handle repeat counts and lengths that
+exceed two billion. [perl #119367]
+
+=item *
+
Digits past the radix point in octal and binary floating point literals
now have the correct weight on platforms where a floating point
significand doesn't fit into an integer type.