summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorDavid Leadbeater <dgl@dgl.cx>2010-12-03 09:20:52 +0000
committerFather Chrysostomos <sprout@cpan.org>2010-12-04 11:42:17 -0800
commitbe7c46f2208506d2d24d3a1ad41d5a9dc4c994d5 (patch)
tree5584a141dfbe1643f49407dca1dda661646e9dc2 /dist
parent70b88f4168267af61728134c18f30d84f4fc10b6 (diff)
downloadperl-be7c46f2208506d2d24d3a1ad41d5a9dc4c994d5.tar.gz
Up Storable minor version
The change for storing UTF-8 coderefs necessitates this change.
Diffstat (limited to 'dist')
-rw-r--r--dist/Storable/Storable.xs4
-rw-r--r--dist/Storable/t/malice.t4
2 files changed, 4 insertions, 4 deletions
diff --git a/dist/Storable/Storable.xs b/dist/Storable/Storable.xs
index 6a1ddb3fe6..531855abf1 100644
--- a/dist/Storable/Storable.xs
+++ b/dist/Storable/Storable.xs
@@ -847,7 +847,7 @@ static const char byteorderstr_56[] = {BYTEORDER_BYTES_56, 0};
#endif
#define STORABLE_BIN_MAJOR 2 /* Binary major "version" */
-#define STORABLE_BIN_MINOR 7 /* Binary minor "version" */
+#define STORABLE_BIN_MINOR 8 /* Binary minor "version" */
#if (PATCHLEVEL <= 5)
#define STORABLE_BIN_WRITE_MINOR 4
@@ -855,7 +855,7 @@ static const char byteorderstr_56[] = {BYTEORDER_BYTES_56, 0};
/*
* Perl 5.6.0 onwards can do weak references.
*/
-#define STORABLE_BIN_WRITE_MINOR 7
+#define STORABLE_BIN_WRITE_MINOR 8
#endif /* (PATCHLEVEL <= 5) */
#if (PATCHLEVEL < 8 || (PATCHLEVEL == 8 && SUBVERSION < 1))
diff --git a/dist/Storable/t/malice.t b/dist/Storable/t/malice.t
index ddb65ddf2c..6da690981e 100644
--- a/dist/Storable/t/malice.t
+++ b/dist/Storable/t/malice.t
@@ -33,8 +33,8 @@ $file_magic_str = 'pst0';
$other_magic = 7 + length $byteorder;
$network_magic = 2;
$major = 2;
-$minor = 7;
-$minor_write = $] > 5.005_50 ? 7 : 4;
+$minor = 8;
+$minor_write = $] > 5.005_50 ? $] >= 5.008 ? 8 : 7 : 4;
use Test::More;