summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MDK/Common/Func.pm2
-rw-r--r--perl-MDK-Common.spec5
2 files changed, 5 insertions, 2 deletions
diff --git a/MDK/Common/Func.pm b/MDK/Common/Func.pm
index bc34fce..3e8285d 100644
--- a/MDK/Common/Func.pm
+++ b/MDK/Common/Func.pm
@@ -258,7 +258,7 @@ sub add_f4before_leaving {
*N = sub {
my $f = $list->{$_[0]}{$name} or die '';
$name eq 'DESTROY' and delete $list->{$_[0]};
- goto $f;
+ &$f;
} unless defined &{*N};
}
diff --git a/perl-MDK-Common.spec b/perl-MDK-Common.spec
index 63574fb..34138f4 100644
--- a/perl-MDK-Common.spec
+++ b/perl-MDK-Common.spec
@@ -2,7 +2,7 @@
# do not change the version here, change in MDK/Common.pm.pl
%define version THEVERSION
-%define release 2mdk
+%define release 3mdk
Summary: Various simple functions
Name: perl-MDK-Common
@@ -49,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT
# MODIFY IN THE CVS: cvs.mandrakesoft.com:/cooker soft/perl-MDK-Common
%changelog
+* Tue Jul 9 2002 Pixel <pixel@mandrakesoft.com> 1.0.3-3mdk
+- workaround perl 5.8.0-RC2 bug
+
* Tue Jul 9 2002 Pixel <pixel@mandrakesoft.com> 1.0.3-2mdk
- rebuild for perl 5.8.0