r45853 - in /trunk/liblinux-lvm-perl/debian: changelog patches/series patches/zero-size
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Thu Oct 15 19:41:38 UTC 2009
Author: gregoa
Date: Thu Oct 15 19:41:33 2009
New Revision: 45853
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=45853
Log:
New patch zero-size: handle missing units in vgdisplay output; thanks to
Michael Tautschnig for the bug report (closes: #551083).
Added:
trunk/liblinux-lvm-perl/debian/patches/zero-size
Modified:
trunk/liblinux-lvm-perl/debian/changelog
trunk/liblinux-lvm-perl/debian/patches/series
Modified: trunk/liblinux-lvm-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblinux-lvm-perl/debian/changelog?rev=45853&op=diff
==============================================================================
--- trunk/liblinux-lvm-perl/debian/changelog (original)
+++ trunk/liblinux-lvm-perl/debian/changelog Thu Oct 15 19:41:33 2009
@@ -4,6 +4,8 @@
(source stanza).
* debian/control: Added: ${misc:Depends} to Depends: field.
* debian/control: fix Homepage field.
+ * New patch zero-size: handle missing units in vgdisplay output; thanks to
+ Michael Tautschnig for the bug report (closes: #551083).
-- gregor herrmann <gregoa at debian.org> Sun, 16 Nov 2008 20:44:14 +0100
Modified: trunk/liblinux-lvm-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblinux-lvm-perl/debian/patches/series?rev=45853&op=diff
==============================================================================
--- trunk/liblinux-lvm-perl/debian/patches/series (original)
+++ trunk/liblinux-lvm-perl/debian/patches/series Thu Oct 15 19:41:33 2009
@@ -1,1 +1,2 @@
binaries_in_sbin
+zero-size
Added: trunk/liblinux-lvm-perl/debian/patches/zero-size
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblinux-lvm-perl/debian/patches/zero-size?rev=45853&op=file
==============================================================================
--- trunk/liblinux-lvm-perl/debian/patches/zero-size (added)
+++ trunk/liblinux-lvm-perl/debian/patches/zero-size Thu Oct 15 19:41:33 2009
@@ -1,0 +1,21 @@
+Author: Mathieu Alorent <malorent at echo.fr>
+Origin: https://lists.uni-koeln.de/pipermail/linux-fai/2009-September/007285.html
+Description: vgdisplay prints no units with 0 size allocations
+Bug-Debian: http://bugs.debian.org/551083
+Forwarded: no
+
+--- a/LVM.pm
++++ b/LVM.pm
+@@ -240,10 +240,10 @@
+ next VGINF; }
+
+ # Parse the number of allocated physical extents from the volume group.
+- elsif( m/Alloc PE \/ Size\s+(\S+) \/ (\S+) (\S+)/ ) {
++ elsif( m/Alloc PE \/ Size\s+(\S+) \/ (\S+)(?:\s+(\S+))?/ ) {
+ $vghash{$vgn}->{alloc_pe} = $1;
+ $vghash{$vgn}->{alloc_pe_size} = $2;
+- $vghash{$vgn}->{alloc_pe_size_unit} = $3;
++ $vghash{$vgn}->{alloc_pe_size_unit} = $3 || "B";
+ next VGINF; }
+
+ # Parse the volume group name.
More information about the Pkg-perl-cvs-commits
mailing list