From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-April/014709.html | 125 ++++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-April/014709.html (limited to 'zarb-ml/mageia-dev/2012-April/014709.html') diff --git a/zarb-ml/mageia-dev/2012-April/014709.html b/zarb-ml/mageia-dev/2012-April/014709.html new file mode 100644 index 000000000..a47e1c26a --- /dev/null +++ b/zarb-ml/mageia-dev/2012-April/014709.html @@ -0,0 +1,125 @@ + + + + [Mageia-dev] [soft-commits] [4149] (create_display_box) fix crashing on calling a method on a non blessed reference + + + + + + + + + +

[Mageia-dev] [soft-commits] [4149] (create_display_box) fix crashing on calling a method on a non blessed reference

+ Pascal Terjan + pterjan at gmail.com +
+ Tue Apr 24 01:47:31 CEST 2012 +

+
+ +
On Fri, Apr 20, 2012 at 19:22,  <root at mageia.org> wrote:
+> Revision 4149 Author tv Date 2012-04-20 20:22:16 +0200 (Fri, 20 Apr 2012)
+>
+> Log Message
+>
+> (create_display_box) fix crashing on calling a method on a non blessed
+> reference
+>
+> Modified Paths
+>
+> drakx/trunk/perl-install/fs/partitioning_wizard.pm
+>
+> Modified: drakx/trunk/perl-install/fs/partitioning_wizard.pm
+> ===================================================================
+> --- drakx/trunk/perl-install/fs/partitioning_wizard.pm	2012-04-20 18:22:13
+> UTC (rev 4148)
+> +++ drakx/trunk/perl-install/fs/partitioning_wizard.pm	2012-04-20 18:22:16
+> UTC (rev 4149)
+> @@ -287,7 +287,8 @@
+>
+>  sub create_display_box {
+>      my ($kind, $resize, $fill_empty, $button) = @_;
+> -    my @parts = fs::get::hds_fstab_and_holes($kind->{val});
+> +    # perl_checker: require UNIVERSAL
+> +    my @parts = fs::get::hds_fstab_and_holes($kind->{val}) if
+> UNIVERSAL::can($kind->{val}, 'first_usable_sector,');
+>
+>      my $totalsectors = $kind->{val}{totalsectors};
+>
+>
+
+This breaks "Use free space" display (nothing is displayed, only empty space).
+Reverting this commit fixed it but I need to sleep now so I did not
+try to understand.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1