Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 5d23481

Browse files
author
Reini Urban
committed
Release cperl-5.22.2
1 parent e2be1bb commit 5d23481

File tree

8 files changed

+31
-11
lines changed

8 files changed

+31
-11
lines changed

INSTALL

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,10 @@ but Perl source knows it as NV. (This is not "long doubles".)
355355
=head3 Algorithmic Complexity Attacks on Hashes
356356

357357
Perl 5.18 reworked the measures used to secure its hash function
358-
from algorithmic complexity attacks. By default it will build with
358+
from algorithmic complexity attacks. By default perl5 will build with
359359
all of these measures enabled along with support for controlling and
360-
disabling them via environment variables.
360+
disabling them via environment variables. cperl defaults to faster hash
361+
tables and relies so far on a proper random seed.
361362

362363
You can override various aspects of this feature by defining various
363364
symbols during configure. An example might be:
@@ -383,15 +384,32 @@ purposes only.
383384
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
384385
PERL_HASH_FUNC_ONE_AT_A_TIME_OLD
385386

387+
With cperl these additional hash functions can be used, here listed without the
388+
C<PERL_HASH_FUNC_> prefix:
389+
390+
FNV1A (default)
391+
FNV1A_YOSHIMITSUTRIAD
392+
MURMUR_HASH_64
393+
MURMUR_HASH_64A
394+
MURMUR_HASH_64b
395+
CRC32
396+
METRO64CRC
397+
METRO64
398+
SPOOKY32
399+
400+
See F<hv_func.h> and L<https://github.com/rurban/smhasher#smhasher>
401+
for an overview of the various qualities and problems.
402+
386403
Perl 5.18 randomizes the order returned by keys(), values(), and each(),
387-
and allows controlling this behavior by using of the PERL_PERTURB_KEYS
404+
and allows controlling this behavior by using of the C<PERL_PERTURB_KEYS>
388405
option. You can disable this option entirely with the define:
389406

390407
PERL_PERTURB_KEYS_DISABLED
391408

392409
You can disable the environment variable checks and specify the type of
393410
key traversal randomization to be used by defining one of these:
394411

412+
PERL_PERTURB_KEYS_TOP (cperl only, default)
395413
PERL_PERTURB_KEYS_RANDOM
396414
PERL_PERTURB_KEYS_DETERMINISTIC
397415

META.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"vxs.inc"
123123
]
124124
},
125-
"release_status" : "testing",
125+
"release_status" : "stable",
126126
"resources" : {
127127
"bugtracker" : {
128128
"web" : "http://github.com/perl11/cperl/issues"

dist/Module-CoreList/lib/Module/CoreList.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use vars qw/$VERSION %released %version %families %upstream
44
%bug_tracker %deprecated %delta/;
55
use Module::CoreList::TieHashDelta;
66
use version;
7-
$VERSION = '5.20160412c';
7+
$VERSION = '5.20160509c';
88
$VERSION =~ s/c$//;
99

1010
sub _released_order { # Sort helper, to make '?' sort after everything else
@@ -295,7 +295,7 @@ sub changes_between {
295295
5.023008 => '2016-02-20',
296296
5.023009 => '2016-03-20',
297297
5.023010 => '2016-04-20',
298-
'5.022002c' => '2016-05-??',
298+
'5.022002c' => '2016-05-09',
299299
);
300300

301301
sub version_sort {

dist/Module-CoreList/lib/Module/CoreList/Utils.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use vars qw[$VERSION %utilities];
66
use Module::CoreList;
77
use Module::CoreList::TieHashDelta;
88

9-
$VERSION = '5.20160412c';
9+
$VERSION = '5.20160509c';
1010
$VERSION =~ s/c$//;
1111

1212
sub utilities {

dist/Storable/Storable.xs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2829,7 +2829,9 @@ static int store_hentry(pTHX_ stcxt_t *cxt, HV* hv, UV i, HE *he, unsigned char
28292829
unsigned char flags = (((hash_flags & SHV_RESTRICTED)
28302830
&& SvTRULYREADONLY(val))
28312831
? SHV_K_LOCKED : 0);
2832-
2832+
#ifndef DEBUGME
2833+
PERL_UNUSED_ARG(i);
2834+
#endif
28332835
if (val == &PL_sv_placeholder) {
28342836
flags |= SHV_K_PLACEHOLDER;
28352837
val = &PL_sv_undef;

patchlevel.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ hunk.
133133
# endif
134134
static const char * const local_patches[] = {
135135
NULL
136-
,"RC2"
137136
#ifdef PERL_GIT_UNCOMMITTED_CHANGES
138137
,"uncommitted-changes"
139138
#endif

pod/perlhist.pod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ the strings?).
581581
rurban 5.22.1c 2015-Sep-14 cperl 5.22
582582
rurban 5.22.2c-RC1 2016-May-01
583583
rurban 5.22.2c-RC2 2016-May-03
584+
rurban 5.22.2c 2016-May-09
584585

585586
=head2 SELECTED RELEASE MEMORY USAGE
586587

t/porting/customized.dat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/Mkbootstrap.t 2f88adc65c55c7bd2e23
3838
ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/pm_to_blib.t 71ebcee355691ce374fcad251b12d8b2412462b3
3939
ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/prereq.t c1fe6e8ce96e8a648043ee8066e60a871fb4e0ba
4040
File::Spec dist/PathTools/t/rel2abs_vs_symlink.t abbf1a890a1b6fefebc0c8a9e2849694ade89fa9
41-
Module::CoreList dist/Module-CoreList/lib/Module/CoreList.pm 8338f7ddc43c5330c586ad5852bee1eee738b5fa
42-
Module::CoreList dist/Module-CoreList/lib/Module/CoreList/Utils.pm d965ac6c3091bde55450683b959771dbd100583a
41+
Module::CoreList dist/Module-CoreList/lib/Module/CoreList.pm b18c1e68ddb9b7cf731109f313e7461be6c2e44d
42+
Module::CoreList dist/Module-CoreList/lib/Module/CoreList/Utils.pm 6010831a43126f35feceee1f8d99bf6463079a10
4343
Net::Domain cpan/libnet/lib/Net/Domain.pm 1c8c8a02490c8209ce23a193dcd2c8e6d936dd92
4444
Pod::Checker cpan/Pod-Checker/scripts/podchecker.PL 99fe178fa11ef47b51df3795073318cd8f2faf5b
4545
Pod::Perldoc cpan/Pod-Perldoc/Makefile.PL d1473c88b8cc5543d174966096b95f2d84a7fdcc

0 commit comments

Comments
 (0)