summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorhiramatsu <hiramatsu>2011-10-24 09:35:25 +0000
committerhiramatsu <hiramatsu>2011-10-24 09:35:25 +0000
commitde1ff574821bba34e5a79dffa6eec5f714c06aa9 (patch)
tree6b84174816e0d94ac2172a48d5571ecfdcd66f8f /devel
parent8504e892c6b82084b46293a349cb996d8068bc5e (diff)
downloadpkgsrc-de1ff574821bba34e5a79dffa6eec5f714c06aa9.tar.gz
Update p5-Scope-Upper to 0.18.
Changes from previous: 0.18 2011-10-10 20:50 UTC + Add : The uid() function returns an unique identifier for each dynamic scope. The validate_uid() function can be used to check whether one such identifier is valid (i.e. that the scope it refers to is still alive). + Chg : It is no longer possible on perl 5.6 to call goto() in an uplevel callback to replace the uplevel call. This change was needed in order to ensure consistency between platforms regarding to the following fix just below. + Fix : The uplevel() tests now pass on Windows. Thanks C.H. Kang for bringing this to my attention. 0.17 2011-10-03 21:45 UTC + Fix : uplevel() will now use the correct pad when executing its callback. This fixes at least two issues : - closures defined inside the uplevel callback can now correctly access lexicals from inside and outside the callback. - state variables in the uplevel callback now work properly. + Fix : It is now generally possible to call goto() in the uplevel'd code to replace the uplevel stack frame. There are two cases for which it is still not possible : - if -D flags were set when running perl (as in "perl -Dt ..."). - if the perl runloop has been replaced with a custom one by another module. If uplevel() detects that the replacement code contains a goto statement, and is in one of those two cases, then it will refuse to execute the callback and throw an exception. Note that this fix implies a run-time overhead of uplevel() proportional to the size of the the callback in every case (with a small ratio), and proportional to the size of ALL the code executed as the result of the uplevel call (including subroutine calls inside the callback) when a goto statement is found in the uplevel callback. + Fix : uplevel() has been taught how to handle XS callbacks properly. + Fix : The cause of "Attempt to free unreferenced scalar" warnings when using uplevel() has been addressed. + Fix : [RT #71212] : build failure on Windows. The module does no longer rely on calling Perl_cv_clone, which isn't exported. Thanks C.H. Kang for reporting.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Scope-Upper/Makefile4
-rw-r--r--devel/p5-Scope-Upper/distinfo8
2 files changed, 6 insertions, 6 deletions
diff --git a/devel/p5-Scope-Upper/Makefile b/devel/p5-Scope-Upper/Makefile
index 657e8d198b2..08c8964aed4 100644
--- a/devel/p5-Scope-Upper/Makefile
+++ b/devel/p5-Scope-Upper/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2011/09/29 08:53:30 obache Exp $
+# $NetBSD: Makefile,v 1.8 2011/10/24 09:35:25 hiramatsu Exp $
-DISTNAME= Scope-Upper-0.16
+DISTNAME= Scope-Upper-0.18
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Scope/}
diff --git a/devel/p5-Scope-Upper/distinfo b/devel/p5-Scope-Upper/distinfo
index 631169e3cea..9931f19e761 100644
--- a/devel/p5-Scope-Upper/distinfo
+++ b/devel/p5-Scope-Upper/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2011/09/29 08:53:30 obache Exp $
+$NetBSD: distinfo,v 1.6 2011/10/24 09:35:25 hiramatsu Exp $
-SHA1 (Scope-Upper-0.16.tar.gz) = b8af30b5f802d60a308f71a9702d48d11686a56f
-RMD160 (Scope-Upper-0.16.tar.gz) = 787c60b11c8d2d5737934f0951087edd586174f7
-Size (Scope-Upper-0.16.tar.gz) = 57449 bytes
+SHA1 (Scope-Upper-0.18.tar.gz) = 301dda3315db6789271420176c5de67acde43445
+RMD160 (Scope-Upper-0.18.tar.gz) = a74c1a5d9922be2254f8ff543757bfad4e6e5168
+Size (Scope-Upper-0.18.tar.gz) = 68660 bytes