This is an automated email from the git hooks/post-receive script. gregoa pushed a commit to branch master in repository liblinux-lvm-perl.
commit 4ca7a9c365391d09ebef89b0055a7182eb78be1b Author: gregor herrmann <gre...@debian.org> Date: Fri Jun 27 18:23:06 2014 +0200 Add patch to fix unitizialized variable warning and wrong label error. Closes: #740929 --- debian/patches/series | 1 + .../patches/uninitialized-vars-wrong-label.patch | 29 ++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/debian/patches/series b/debian/patches/series index 8624513..930ba38 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ zero-size +uninitialized-vars-wrong-label.patch diff --git a/debian/patches/uninitialized-vars-wrong-label.patch b/debian/patches/uninitialized-vars-wrong-label.patch new file mode 100644 index 0000000..54ec5e0 --- /dev/null +++ b/debian/patches/uninitialized-vars-wrong-label.patch @@ -0,0 +1,29 @@ +Description: fix uninitialized vars and wrong label +Origin: vendor +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=94991 +Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=94991 +Author: Roland Dieterich <dieter...@mpipz.mpg.de> +Reviewed-by: gregor herrmann <gre...@debian.org> +Last-Update: 2014-06-27 + +--- a/LVM.pm ++++ b/LVM.pm +@@ -290,15 +290,16 @@ + + # Parse the logical volume name. + elsif( m/LV Name\s+(\S+)/ ) { +- $lvn = $1; ++ $lvn = $1 unless $lvn; + $vghash{$vgn}->{lvols}->{$lvn}->{name} = $1; + next VGINF; } + + # since version 2.02.89 'LV Name' is no longer the full path, 'LV Path' is. + # LV Path may be bogus or missing in some cases, such as thin pools. + if( m/LV Path\s+(\S+)/ ) { ++ $lvn = $1; + $vghash{$vgn}->{lvols}->{$lvn}->{name} = $1; +- next LVINF; } ++ next VGINF; } + + # Parse the logical volume UUID. + elsif( m/LV UUID\s+(\S+)/ ) { -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblinux-lvm-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits