In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/27f00e3d3ab119f7ef8f547e70d739672e381ebd?hp=768483871f7d05689a92ec84d2182a1b6e3c0516>
- Log ----------------------------------------------------------------- commit 27f00e3d3ab119f7ef8f547e70d739672e381ebd Author: Karl Williamson <pub...@khwilliamson.com> Date: Sat Feb 11 14:54:24 2012 -0700 perldelta: Note is_utf8_char_buf() and is_utf8_char() M pod/perldelta.pod commit 7496853526e339fe5a8c7b812cd82f3693777e02 Author: Karl Williamson <pub...@khwilliamson.com> Date: Sat Feb 11 14:40:02 2012 -0700 Change =head1 to =head2 in perldelta M pod/perldelta.pod ----------------------------------------------------------------------- Summary of changes: pod/perldelta.pod | 21 ++++++++++++++++++++- 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 56825e6..fb4166b 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -66,7 +66,7 @@ Full details are in L<perlfunc/fc>. The C<_> character in subroutine prototypes is now allowed before C<@> or C<%>. -=head1 Supports (I<almost>) Unicode 6.1 +=head2 Supports (I<almost>) Unicode 6.1 Besides the addition of whole new scripts, and new characters in existing scripts, this new version of Unicode, as always, makes some @@ -130,6 +130,12 @@ and ZWNBSP for ZERO WIDTH NO-BREAK SPACE. More details on this version of Unicode are provided in L<http://www.unicode.org/versions/Unicode6.1.0/>. +=head2 Added C<is_utf8_char_buf()> + +This function is designed to replace the deprecated L</is_utf8_char()> +function. It includes an extra parameter to make sure it doesn't read +past the end of the input buffer. + =head1 Security XXX Any security-related notices go here. In particular, any security @@ -138,6 +144,13 @@ L</Selected Bug Fixes> section. [ List each security issue as a =head2 entry ] +=head2 Use C<is_utf8_char_buf()> and not C<is_utf8_char()> + +The latter function is now deprecated because its API is insufficient to +guarantee that it doesn't read (up to 12 bytes in the worst case) beyond +the end of its input string. See +L<is_utf8_char_buf()|/Added is_utf8_char_buf()>. + =head1 Incompatible Changes XXX For a release on a stable branch, this section aspires to be: @@ -190,6 +203,12 @@ listed as an updated module in the L</Modules and Pragmata> section. [ List each deprecation as a =head2 entry ] +=head2 C<is_utf8_char()> + +This function is deprecated because it could read beyond the end of the +input string. Use the new L<is_utf8_char_buf()|/Added is_utf8_char_buf()> +instead. + =head1 Performance Enhancements XXX Changes which enhance performance without changing behaviour go here. There -- Perl5 Master Repository