In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/e1b4c605120490c5944021bf8d632d7efd46aa1b?hp=b4bf9efcb45aefa039695c6ec86b9af593086308>

- Log -----------------------------------------------------------------
commit e1b4c605120490c5944021bf8d632d7efd46aa1b
Author: Steffen Mueller <[email protected]>
Date:   Mon Jul 31 17:18:20 2017 +0200

    Add SvPVCLEAR fallback definiton to Data::Dumper
    
    See also: 40c7720facf5e6944805c593ad6a5604ad88c9ce
    
    Also includes changelog entry for DD dev release to CPAN.
-----------------------------------------------------------------------

Summary of changes:
 dist/Data-Dumper/Changes   | 6 +++++-
 dist/Data-Dumper/Dumper.pm | 4 ++--
 dist/Data-Dumper/Dumper.xs | 5 +++++
 3 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/dist/Data-Dumper/Changes b/dist/Data-Dumper/Changes
index a5430d5e36..b2f61e5ab0 100644
--- a/dist/Data-Dumper/Changes
+++ b/dist/Data-Dumper/Changes
@@ -6,7 +6,11 @@ Changes - public release history for Data::Dumper
 
 =over 8
 
-=item 2,166 (Nov 29 2016)
+=item 2.167_01  (Jul 31 2017)
+
+CPAN dev release with the accumulated changes from core perl.
+
+=item 2.166 (Nov 29 2016)
 
 Reduce memory usage by not importing from Carp
 Reduce memory usage by removing unused overload require.
diff --git a/dist/Data-Dumper/Dumper.pm b/dist/Data-Dumper/Dumper.pm
index 00f6326ee1..ef1dd9e26e 100644
--- a/dist/Data-Dumper/Dumper.pm
+++ b/dist/Data-Dumper/Dumper.pm
@@ -10,7 +10,7 @@
 package Data::Dumper;
 
 BEGIN {
-    $VERSION = '2.167'; # Don't forget to set version and release
+    $VERSION = '2.167_01'; # Don't forget to set version and release
 }               # date in POD below!
 
 #$| = 1;
@@ -1465,7 +1465,7 @@ modify it under the same terms as Perl itself.
 
 =head1 VERSION
 
-Version 2.167  (January 4 2017)
+Version 2.167_01
 
 =head1 SEE ALSO
 
diff --git a/dist/Data-Dumper/Dumper.xs b/dist/Data-Dumper/Dumper.xs
index 0e7142e222..7de87ec7eb 100644
--- a/dist/Data-Dumper/Dumper.xs
+++ b/dist/Data-Dumper/Dumper.xs
@@ -41,6 +41,11 @@
                           || (((UV) (c)) >= '0' && ((UV) (c)) <= '9'))
 #endif
 
+/* SvPVCLEAR only from perl 5.25.6 */
+#ifndef SvPVCLEAR
+#  define SvPVCLEAR(sv) sv_setpvs((sv), "")
+#endif
+
 /* This struct contains almost all the user's desired configuration, and it
  * is treated as constant by the recursive function. This arrangement has
  * the advantage of needing less memory than passing all of them on the

--
Perl5 Master Repository

Reply via email to