r6242 - in /trunk/libcompress-zlib-perl/debian: changelog patches/02_restore-gzreadline-record-separator-behaviour.patch patches/series

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sat Aug 4 05:06:05 UTC 2007


Author: dmn
Date: Sat Aug  4 05:06:04 2007
New Revision: 6242

URL: http://svn.debian.org/wsvn/?sc=1&rev=6242
Log:
* Added 02_restore-gzreadline-record-separator-behaviour.patch, which
  hard-codes "\n" as record separator before calling $gz->getline for the
  actual read. Closes: #435656

Added:
    trunk/libcompress-zlib-perl/debian/patches/02_restore-gzreadline-record-separator-behaviour.patch
Modified:
    trunk/libcompress-zlib-perl/debian/changelog
    trunk/libcompress-zlib-perl/debian/patches/series

Modified: trunk/libcompress-zlib-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libcompress-zlib-perl/debian/changelog?rev=6242&op=diff
==============================================================================
--- trunk/libcompress-zlib-perl/debian/changelog (original)
+++ trunk/libcompress-zlib-perl/debian/changelog Sat Aug  4 05:06:04 2007
@@ -1,8 +1,10 @@
-libcompress-zlib-perl (2.005-2) UNRELEASED; urgency=low
+libcompress-zlib-perl (2.005-2) unstable; urgency=low
 
-  * NOT RELEASED YET
+  * Added 02_restore-gzreadline-record-separator-behaviour.patch, which
+    hard-codes "\n" as record separator before calling $gz->getline for the
+    actual read. Closes: #435656
 
- -- Damyan Ivanov <dmn at debian.org>  Wed, 01 Aug 2007 08:54:12 +0300
+ -- Damyan Ivanov <dmn at debian.org>  Sat, 04 Aug 2007 08:05:57 +0300
 
 libcompress-zlib-perl (2.005-1) unstable; urgency=low
 

Added: trunk/libcompress-zlib-perl/debian/patches/02_restore-gzreadline-record-separator-behaviour.patch
URL: http://svn.debian.org/wsvn/trunk/libcompress-zlib-perl/debian/patches/02_restore-gzreadline-record-separator-behaviour.patch?rev=6242&op=file
==============================================================================
--- trunk/libcompress-zlib-perl/debian/patches/02_restore-gzreadline-record-separator-behaviour.patch (added)
+++ trunk/libcompress-zlib-perl/debian/patches/02_restore-gzreadline-record-separator-behaviour.patch Sat Aug  4 05:06:04 2007
@@ -1,0 +1,16 @@
+Index: libcompress-zlib-perl/lib/Compress/Zlib.pm
+===================================================================
+--- libcompress-zlib-perl.orig/lib/Compress/Zlib.pm	2007-08-04 07:45:33.000000000 +0300
++++ libcompress-zlib-perl/lib/Compress/Zlib.pm	2007-08-04 07:46:12.000000000 +0300
+@@ -180,7 +180,10 @@
+     my $self = shift ;
+ 
+     my $gz = $self->[0] ;
+-    $_[0] = $gz->getline() ; 
++    {
++        $/ = "\n";
++        $_[0] = $gz->getline() ;
++    }
+     _save_gzerr($gz, 1);
+     return defined $_[0] ? length $_[0] : 0 ;
+ }

Modified: trunk/libcompress-zlib-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libcompress-zlib-perl/debian/patches/series?rev=6242&op=diff
==============================================================================
--- trunk/libcompress-zlib-perl/debian/patches/series (original)
+++ trunk/libcompress-zlib-perl/debian/patches/series Sat Aug  4 05:06:04 2007
@@ -1,1 +1,2 @@
 01_use-debian-perl-in-examples.patch
+02_restore-gzreadline-record-separator-behaviour.patch




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