In perl.git, the branch maint-5.26 has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/44af63824611e1e562a7090ab7263a3d9b9ab68b?hp=d3464098a649fdfba7180a72cdda01beb6003867>

- Log -----------------------------------------------------------------
commit 44af63824611e1e562a7090ab7263a3d9b9ab68b
Author: Karl Williamson <k...@cpan.org>
Date:   Tue May 23 20:51:56 2017 -0600

    charnames: Remove obsolete pod about NBSP
    
    This is illegal since 5.26, and the text should have been removed then,
    but was overlooked.
    
    (cherry picked from commit 754e15cfc175f0e2e1299d27fd387a0d868c2764)

M       lib/_charnames.pm
M       lib/charnames.pm

commit 4cef16997d1513d4054c0517ec9f3395c43a9445
Author: Karl Williamson <k...@cpan.org>
Date:   Wed May 17 11:21:57 2017 -0600

    perluniintro: Update advice for LC_COLLATE
    
    This was changed to work better in 5.26, but this pod didn't get
    updated.
    
    (cherry picked from commit 725a67e540ba5cb03c83ba1ed0541f2cc088b3b1)

M       pod/perluniintro.pod

commit 7564926e2de00a49061284c72284480f6f8f0ff8
Author: Steve Hay <steve.m....@googlemail.com>
Date:   Thu Jul 27 18:13:13 2017 +0100

    [perl #131726] [Win32] perl.h remaps 'strtoll' and 'strtoull' incorrectly
    
    Fix by Kai-Uwe Eckhardt <kuehro [...] posteo.de> taken from
    https://rt.cpan.org/Public/Bug/Display.html?id=121683
    as suggested by Sisyphus on perl#131726.
    
    (cherry picked from commit 8ed77d12c9275cd4e145ab50aaecf69730166a9b)

M       perl.h
-----------------------------------------------------------------------

Summary of changes:
 lib/_charnames.pm    |  2 +-
 lib/charnames.pm     | 10 ++++------
 perl.h               |  4 ++--
 pod/perluniintro.pod | 10 +++++++---
 4 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/lib/_charnames.pm b/lib/_charnames.pm
index 50fdd85c5d..444eb1d6f7 100644
--- a/lib/_charnames.pm
+++ b/lib/_charnames.pm
@@ -6,7 +6,7 @@
 package _charnames;
 use strict;
 use warnings;
-our $VERSION = '1.44';
+our $VERSION = '1.45';
 use unicore::Name;    # mktables-generated algorithmically-defined names
 
 use bytes ();          # for $bytes::hint_bits
diff --git a/lib/charnames.pm b/lib/charnames.pm
index a0f3227f4d..e22c71913c 100644
--- a/lib/charnames.pm
+++ b/lib/charnames.pm
@@ -1,7 +1,7 @@
 package charnames;
 use strict;
 use warnings;
-our $VERSION = '1.44';
+our $VERSION = '1.45';
 use unicore::Name;    # mktables-generated algorithmically-defined names
 use _charnames ();    # The submodule for this where most of the work gets done
 
@@ -278,11 +278,9 @@ mean C<"B">, etc.
 
 Aliases must begin with a character that is alphabetic.  After that, each may
 contain any combination of word (C<\w>) characters, SPACE (U+0020),
-HYPHEN-MINUS (U+002D), LEFT PARENTHESIS (U+0028), RIGHT PARENTHESIS (U+0029),
-and NO-BREAK SPACE (U+00A0).  These last three should never have been allowed
-in names, and are retained for backwards compatibility only; NO-BREAK SPACE IS
-currently deprecated and scheduled for removal in Perl v5.26; the other two
-may also be
+HYPHEN-MINUS (U+002D), LEFT PARENTHESIS (U+0028), and RIGHT PARENTHESIS
+(U+0029).  These last two should never have been allowed
+in names, and are retained for backwards compatibility only, and may be
 deprecated and removed in future releases of Perl, so don't use them for new
 names.  (More precisely, the first character of a name you specify must be
 something that matches all of C<\p{ID_Start}>, C<\p{Alphabetic}>, and
diff --git a/perl.h b/perl.h
index 70e12bd722..da326abc19 100644
--- a/perl.h
+++ b/perl.h
@@ -6261,7 +6261,7 @@ expression, but with an empty argument list, like this:
 #    ifdef __hpux
 #        define strtoll __strtoll      /* secret handshake */
 #    endif
-#    ifdef WIN64
+#    if defined(WIN64) && defined(_MSC_VER)
 #        define strtoll _strtoi64      /* secret handshake */
 #    endif
 #   if !defined(Strtol) && defined(HAS_STRTOLL)
@@ -6295,7 +6295,7 @@ expression, but with an empty argument list, like this:
 #    ifdef __hpux
 #        define strtoull __strtoull    /* secret handshake */
 #    endif
-#    ifdef WIN64
+#    if defined(WIN64) && defined(_MSC_VER)
 #        define strtoull _strtoui64    /* secret handshake */
 #    endif
 #    if !defined(Strtoul) && defined(HAS_STRTOULL)
diff --git a/pod/perluniintro.pod b/pod/perluniintro.pod
index d35de34581..3e2fba516f 100644
--- a/pod/perluniintro.pod
+++ b/pod/perluniintro.pod
@@ -843,9 +843,13 @@ L<http://www.cl.cam.ac.uk/~mgk25/unicode.html>
 
 How Does Unicode Work With Traditional Locales?
 
-If your locale is a UTF-8 locale, starting in Perl v5.20, Perl works
-well for all categories except C<LC_COLLATE> dealing with sorting and
-the C<cmp> operator.
+If your locale is a UTF-8 locale, starting in Perl v5.26, Perl works
+well for all categories; before this, starting with Perl v5.20, it works
+for all categories but C<LC_COLLATE>, which deals with
+sorting and the C<cmp> operator.  But note that the standard
+C<L<Unicode::Collate>> and C<L<Unicode::Collate::Locale>> modules offer
+much more powerful solutions to collation issues, and work on earlier
+releases.
 
 For other locales, starting in Perl 5.16, you can specify
 

--
Perl5 Master Repository

Reply via email to