Skip to content

Commit 05a6ec7

Browse files
committed
Update Digest-MD5 to CPAN version 2.55
[DELTA] 2016-03-09 Gisle Aas <[email protected]> Release 2.55 Gordon Stanton (2): Make use warnings work including test cases. Initial Travis config Gisle Aas (1): Avoid warning: 'static' is not at beginning of declaration [RT#105646]
1 parent fd02503 commit 05a6ec7

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Porting/Maintainers.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ package Maintainers;
364364
},
365365

366366
'Digest::MD5' => {
367-
'DISTRIBUTION' => 'GAAS/Digest-MD5-2.54.tar.gz',
367+
'DISTRIBUTION' => 'GAAS/Digest-MD5-2.55.tar.gz',
368368
'FILES' => q[cpan/Digest-MD5],
369369
'EXCLUDED' => ['rfc1321.txt'],
370370
},

cpan/Digest-MD5/MD5.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package Digest::MD5;
33
use strict;
44
use vars qw($VERSION @ISA @EXPORT_OK);
55

6-
$VERSION = '2.54';
6+
$VERSION = '2.55';
77

88
require Exporter;
99
*import = \&Exporter::import;

cpan/Digest-MD5/MD5.xs

+3-3
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ STATIC int dup_md5_ctx(pTHX_ MAGIC *mg, CLONE_PARAMS *params)
156156
#endif
157157

158158
#if defined(MGf_DUP) && defined(USE_ITHREADS)
159-
const STATIC MGVTBL vtbl_md5 = {
159+
STATIC const MGVTBL vtbl_md5 = {
160160
NULL, /* get */
161161
NULL, /* set */
162162
NULL, /* len */
@@ -168,7 +168,7 @@ const STATIC MGVTBL vtbl_md5 = {
168168
};
169169
#else
170170
/* declare as 5 member, not normal 8 to save image space*/
171-
const STATIC struct {
171+
STATIC const struct {
172172
int (*svt_get)(SV* sv, MAGIC* mg);
173173
int (*svt_set)(SV* sv, MAGIC* mg);
174174
U32 (*svt_len)(SV* sv, MAGIC* mg);
@@ -788,7 +788,7 @@ md5(...)
788788
PPCODE:
789789
MD5Init(&ctx);
790790

791-
if (PL_dowarn & G_WARN_ON) {
791+
if ((PL_dowarn & G_WARN_ON) || ckWARN(WARN_SYNTAX)) {
792792
const char *msg = 0;
793793
if (items == 1) {
794794
if (SvROK(ST(0))) {

cpan/Digest-MD5/t/files.t

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ my $EXPECT;
1414
if (ord "A" == 193) { # EBCDIC
1515
$EXPECT = <<EOT;
1616
0956ffb4f6416082b27d6680b4cf73fc README
17-
2a61dd5022b11faa35eed27d1c6c98c2 MD5.xs
17+
60a80f534f0017745eb755f36a946fe7 MD5.xs
1818
276da0aa4e9a08b7fe09430c9c5690aa rfc1321.txt
1919
EOT
2020
} else {
2121
# This is the output of: 'md5sum README MD5.xs rfc1321.txt'
2222
$EXPECT = <<EOT;
2323
2f93400875dbb56f36691d5f69f3eba5 README
24-
0a0cf2512d18d24c6881d7d755e2b609 MD5.xs
24+
9572832f3628e3bebcdd54f47c43dc5a MD5.xs
2525
754b9db19f79dbc4992f7166eb0f37ce rfc1321.txt
2626
EOT
2727
}

0 commit comments

Comments
 (0)