r2765 - in /packages/libnetxap-perl/trunk/debian: changelog patches/00list patches/70search.dpatch

ntyni-guest at users.alioth.debian.org ntyni-guest at users.alioth.debian.org
Sat May 13 18:04:38 UTC 2006


Author: ntyni-guest
Date: Sat May 13 18:04:38 2006
New Revision: 2765

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=2765
Log:
Fix 'use of uninitialized value' messages when an IMAP search doesn't match.


Added:
    packages/libnetxap-perl/trunk/debian/patches/70search.dpatch   (with props)
Modified:
    packages/libnetxap-perl/trunk/debian/changelog
    packages/libnetxap-perl/trunk/debian/patches/00list

Modified: packages/libnetxap-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libnetxap-perl/trunk/debian/changelog?rev=2765&op=diff
==============================================================================
--- packages/libnetxap-perl/trunk/debian/changelog (original)
+++ packages/libnetxap-perl/trunk/debian/changelog Sat May 13 18:04:38 2006
@@ -10,8 +10,10 @@
   * debian/patches:
     + 20pod.dpatch: One more fix for POD comments.
     + 60lc.dpatch: Fix typo in Net::IMAP:Acl::new()
+    + 70search.dpatch: Fix 'use of uninitialized value' messages 
+      when an IMAP search doesn't match.
 
- -- Niko Tyni <ntyni at iki.fi>  Sat, 13 May 2006 20:48:36 +0300
+ -- Niko Tyni <ntyni at iki.fi>  Sat, 13 May 2006 21:03:15 +0300
 
 libnetxap-perl (0.02-5) unstable; urgency=low
 

Modified: packages/libnetxap-perl/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libnetxap-perl/trunk/debian/patches/00list?rev=2765&op=diff
==============================================================================
--- packages/libnetxap-perl/trunk/debian/patches/00list (original)
+++ packages/libnetxap-perl/trunk/debian/patches/00list Sat May 13 18:04:38 2006
@@ -4,3 +4,4 @@
 40namespace.dpatch
 50debug.dpatch
 60lc.dpatch
+70search.dpatch

Added: packages/libnetxap-perl/trunk/debian/patches/70search.dpatch
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libnetxap-perl/trunk/debian/patches/70search.dpatch?rev=2765&op=file
==============================================================================
--- packages/libnetxap-perl/trunk/debian/patches/70search.dpatch (added)
+++ packages/libnetxap-perl/trunk/debian/patches/70search.dpatch Sat May 13 18:04:38 2006
@@ -1,0 +1,24 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 70search.dpatch by Niko Tyni <ntyni at iki.fi>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix 'use of uninitialized value' messages when an IMAP search
+## DP: doesn't match.
+## DP: Originally from CPAN #346 by Michael Guennewig
+
+ at DPATCH@
+diff -urNad trunk~/Net/IMAP.pm trunk/Net/IMAP.pm
+--- trunk~/Net/IMAP.pm	2006-05-13 20:42:29.000000000 +0300
++++ trunk/Net/IMAP.pm	2006-05-13 21:02:12.449073705 +0300
+@@ -2204,6 +2204,11 @@
+ 
+   $self->{Parent} = $parent;
+ 
++  if (!defined $str) {
++    $self->{Msgnums} = {};
++    return $self;
++  } 
++
+   for my $item (split(/\s/, $str)) {
+     $self->{Msgnums}{$item}++;
+   }

Propchange: packages/libnetxap-perl/trunk/debian/patches/70search.dpatch
------------------------------------------------------------------------------
    svn:executable = *




More information about the Pkg-perl-cvs-commits mailing list