[PATCH] Fix a test failure with Perl 5.12.0

Niko Tyni ntyni at debian.org
Tue May 4 06:22:24 UTC 2010


Perl 5.12.0 introduces new uninitialized warnings for the lc* and uc*
functions, breaking the test suite.
---
 lib/DBM/Deep/Storage/DBI.pm |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/DBM/Deep/Storage/DBI.pm b/lib/DBM/Deep/Storage/DBI.pm
index 8b6c403..3ce8813 100644
--- a/lib/DBM/Deep/Storage/DBI.pm
+++ b/lib/DBM/Deep/Storage/DBI.pm
@@ -57,7 +57,9 @@ sub open {
     ) or die $DBI::error;
 
     # Should we use the same method as done in new() if passed a $dbh?
+    { no warnings 'uninitialized';
     (undef, $self->{driver}) = map lc, DBI->parse_dsn( $self->{dbi}{dsn} );
+    }
 
     return 1;
 }
-- 
1.7.1


--CE+1k2dSO48ffgeK--



------------=_1273258990-30663-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 580189-close) by bugs.debian.org; 7 May 2010 19:02:11 +0000
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on busoni.debian.org
X-Spam-Level: 
X-Spam-Bayes: score:0.0000 Tokens: new, 95; hammy, 150; neutral, 100; spammy,
	1. spammytokens:0.998-1--ujz hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*RU:128.148.34.103, 0.000-+--H*rp:D*ftp-master.debian.org,
	0.000-+--HX-DAK:process-upload, 0.000-+--HX-DAK:dak
X-Spam-Status: No, score=-11.1 required=4.0 tests=AWL,BAYES_00,
	FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,IMPRONONCABLE_2,MURPHY_DRUGS_REL8,
	MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2,PGPSIGNATURE autolearn=ham
	version=3.2.5-bugs.debian.org_2005_01_02
Return-path: <envelope at ftp-master.debian.org>
Received: from ries.debian.org ([128.148.34.103])
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=ries.debian.org,EMAIL=hostmaster at ries.debian.org (verified)
	by busoni.debian.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.69)
	(envelope-from <envelope at ftp-master.debian.org>)
	id 1OASoN-0007pT-7V
	for 580189-close at bugs.debian.org; Fri, 07 May 2010 19:02:11 +0000
Received: from dak by ries.debian.org with local (Exim 4.69)
	(envelope-from <envelope at ftp-master.debian.org>)
	id 1OASoK-00084o-P4; Fri, 07 May 2010 19:02:08 +0000
From: Ansgar Burchardt <ansgar at 43-1.org>
To: 580189-close at bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: libdbm-deep-perl
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Subject: Bug#580189: fixed in libdbm-deep-perl 1.0022-2
Message-Id: <E1OASoK-00084o-P4 at ries.debian.org>
Sender: Archive Administrator <dak at ries.debian.org>
Date: Fri, 07 May 2010 19:02:08 +0000

Source: libdbm-deep-perl
Source-Version: 1.0022-2

We believe that the bug you reported is fixed in the latest version of
libdbm-deep-perl, which is due to be installed in the Debian FTP archive:

libdbm-deep-perl_1.0022-2.debian.tar.gz
  to main/libd/libdbm-deep-perl/libdbm-deep-perl_1.0022-2.debian.tar.gz
libdbm-deep-perl_1.0022-2.dsc
  to main/libd/libdbm-deep-perl/libdbm-deep-perl_1.0022-2.dsc
libdbm-deep-perl_1.0022-2_all.deb
  to main/libd/libdbm-deep-perl/libdbm-deep-perl_1.0022-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 580189 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ansgar Burchardt <ansgar at 43-1.org> (supplier of updated libdbm-deep-perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 08 May 2010 02:20:12 +0900
Source: libdbm-deep-perl
Binary: libdbm-deep-perl
Architecture: source all
Version: 1.0022-2
Distribution: unstable
Urgency: low
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Changed-By: Ansgar Burchardt <ansgar at 43-1.org>
Description: 
 libdbm-deep-perl - pure perl multi-level hash/array DBM that supports transactions
Closes: 580189
Changes: 
 libdbm-deep-perl (1.0022-2) unstable; urgency=low
 .
   * Fix test failure with perl 5.12. (Closes: #580189)
     + new patch: perl-5.12.patch
Checksums-Sha1: 
 d33975d8a4607a67cae6f867befe340b3724e0fe 2317 libdbm-deep-perl_1.0022-2.dsc
 f80fc2ea7c30cf83e44cdf71515e84abcc463864 3806 libdbm-deep-perl_1.0022-2.debian.tar.gz
 23ae9791adb84c40092e75c520d79c1566152f74 112986 libdbm-deep-perl_1.0022-2_all.deb
Checksums-Sha256: 
 699084cbc09b6d219e09df118cd239f4553b7c0e6e533211e7593b6ad5dde8d7 2317 libdbm-deep-perl_1.0022-2.dsc
 e6c3d4e39a4bcecbc7539ffc21bb883277dc7c7ea5faa18c62f59ce69795cd6a 3806 libdbm-deep-perl_1.0022-2.debian.tar.gz
 80289989494c6dcafda1e9dad07186ec4182a3d74e74a4ca2f349a7c2ade68d6 112986 libdbm-deep-perl_1.0022-2_all.deb
Files: 
 013bad7da342466a1734dd4a6c401538 2317 perl optional libdbm-deep-perl_1.0022-2.dsc
 b17c046b22c7eeaed5da08daddb828ea 3806 perl optional libdbm-deep-perl_1.0022-2.debian.tar.gz
 cc75de1a1626b838cfcd3c632baea75f 112986 perl optional libdbm-deep-perl_1.0022-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIbBAEBCAAGBQJL5GA5AAoJELs6aAGGSaoGR68P9RqmmiDlKfPq/k2E52ZUG4yP
Uik0yPFmKZTICQ5boJ+hycJoW9nR+9GCyenebnGEe6jWUN8qplzi7owDjucOqV1q
Lrpml3+gktPHT3zXUTlQvp0pMUmddRpPOLmwQYUKT4wN+pADjbEkbcsHF4mN0/+H
UFH0VsDcwVA2IiOt+KdtKgUZcAe387EZQVuEW4A7u6vvbQohaW1H3jkJYWJaR356
+SxvXrtcQv/6jnORqfB5TMhRw3w/iXOCk9ydhguLPHVT2f/JuP7K3GiQLU/OIWYv
7BAwDXN29PSoPCTSJ98n219NVkYmh86fnrr0sdt2LIQRhf+Z8BbenQ44rsVqyfxk
jdayeAt1eIfHBNx6xhqAJ1H0YaUCD5RweaygHF8n9B9r/qJvsYAntJAp7d46bhUe
p2yI8aaaoxBoR0HpGL3VIU4Rb/Z9xG4/shUj0zdDkhSCvF7dUjU/Y/yd00kPQaYa
eUcHLAsP33/BAgiy68XTu4aDZ1WKoL0wR99uiMyUzt/r8WWffozqLxXP0YsuuYjf
E9/sZ+ujZ+gLR8fDv9vpMwe4Bll7F3lbHN8Lg+aZphxq8J+4A2CVWKGpw0LDrR/o
oOhpGIMyz7H9w1CU9MGAXBbRyNwJajExTuBhphOOjRBpcWPR9S1zsw4YqsgZTtCi
+dn5h8Zw2KGihADujWs=
=ty2m
-----END PGP SIGNATURE-----



------------=_1273258990-30663-0--



More information about the pkg-perl-maintainers mailing list