From: Jarkko Hietaniemi Date: Tue, 22 Aug 2006 10:45:41 +0000 (+0300) Subject: g++: fix Digest::MD5, Math::BigInt::FastCalc, ODBM_File, XS::APItest (and Time::HiRes... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8a722a808f014b250085459c05169292bb4903ff;p=p5sagit%2Fp5-mst-13.2.git g++: fix Digest::MD5, Math::BigInt::FastCalc, ODBM_File, XS::APItest (and Time::HiRes 1.88 in CPAN) Message-Id: <200608220745.k7M7jfjP050939@kosh.hut.fi> ...plus various version bumps and Digest::MD5 test file fixes. p4raw-id: //depot/perl@28744 --- diff --git a/ext/Digest/MD5/MD5.pm b/ext/Digest/MD5/MD5.pm index 17fb11d..e9ff18e 100644 --- a/ext/Digest/MD5/MD5.pm +++ b/ext/Digest/MD5/MD5.pm @@ -3,7 +3,7 @@ package Digest::MD5; use strict; use vars qw($VERSION @ISA @EXPORT_OK); -$VERSION = '2.36'; # $Date: 2005/11/30 13:46:47 $ +$VERSION = '2.36_01'; # $Date: 2005/11/30 13:46:47 $ require Exporter; *import = \&Exporter::import; diff --git a/ext/Digest/MD5/MD5.xs b/ext/Digest/MD5/MD5.xs index c246338..3223c3d 100644 --- a/ext/Digest/MD5/MD5.xs +++ b/ext/Digest/MD5/MD5.xs @@ -713,8 +713,8 @@ md5(...) } } if (msg) { - char *f = (ix == F_BIN) ? "md5" : - (ix == F_HEX) ? "md5_hex" : "md5_base64"; + const char *f = (ix == F_BIN) ? "md5" : + (ix == F_HEX) ? "md5_hex" : "md5_base64"; warn("&Digest::MD5::%s function %s", f, msg); } } diff --git a/ext/Digest/MD5/t/files.t b/ext/Digest/MD5/t/files.t index 1cec9b5..d2fb010 100644 --- a/ext/Digest/MD5/t/files.t +++ b/ext/Digest/MD5/t/files.t @@ -22,16 +22,16 @@ if (ord "A" == 193) { # EBCDIC $EXPECT = <