pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Test-Trap Update to 0.2.4. From the changelog:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c3e5f0d241c3
branches:  trunk
changeset: 635689:c3e5f0d241c3
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Jun 09 19:07:04 2014 +0000

description:
Update to 0.2.4. From the changelog:

This release fixes a memory leak with the default tempfile backend
layer implementation for trapping output. The systemsafe alternative
backend had the same kind of leak, and has also been fixed. (The
perlio alternative backend was not affected.) Thanks go again to
Felipe Gasper for discovering this!

Test::Trap::Builder:
- Add a method ExceptionFunction to make it easier to avoid
  circular references arising from registered closures.
  Document and export this method.
Test::Trap::Builder::TempFile:
- Break a circular reference chain.
Test::Trap::Builder::SystemSafe:
- Break a similar but slightly more complicated circular
  reference chain.
Tests:
- Added t/14-leaks.t to check that the reference count is as
  expected, at least with trivial code and standard setup for
  all three output layer backends.
- Regression test for the stale references.
Library files:
- RT #87263: typo fixes, courtesy dsteinbrunner%pobox.com@localhost.
- Localize the trap coderef, so that it does not hold on to
  what it closes over, creating stale references, but lets
  them go out of scope; thanks go to Felipe Gasper.
Documentation:
- Some clarification for RT #91687: Wrong exit code after die.
Also:
- Use ebhanssen%cpan.org@localhost for my email address.
- Update copyright years.
- Update MANIFEST.SKIP &c for use of git (goodbye subversion).

diffstat:

 devel/p5-Test-Trap/Makefile |  5 ++---
 devel/p5-Test-Trap/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r e7984f2002ed -r c3e5f0d241c3 devel/p5-Test-Trap/Makefile
--- a/devel/p5-Test-Trap/Makefile       Mon Jun 09 19:04:51 2014 +0000
+++ b/devel/p5-Test-Trap/Makefile       Mon Jun 09 19:07:04 2014 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2014/05/29 23:36:24 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2014/06/09 19:07:04 schmonz Exp $
 
-DISTNAME=              Test-Trap-v0.2.2
+DISTNAME=              Test-Trap-v0.2.4
 PKGNAME=               p5-${DISTNAME:S/v0/0/}
-PKGREVISION=           2
 CATEGORIES=            devel perl5
 MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=Test/}
 
diff -r e7984f2002ed -r c3e5f0d241c3 devel/p5-Test-Trap/distinfo
--- a/devel/p5-Test-Trap/distinfo       Mon Jun 09 19:04:51 2014 +0000
+++ b/devel/p5-Test-Trap/distinfo       Mon Jun 09 19:07:04 2014 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2013/01/19 22:57:06 schmonz Exp $
+$NetBSD: distinfo,v 1.3 2014/06/09 19:07:04 schmonz Exp $
 
-SHA1 (Test-Trap-v0.2.2.tar.gz) = 2342990b5a96e751cdcea839efcc79a2f2223f3e
-RMD160 (Test-Trap-v0.2.2.tar.gz) = 01863953e120cb1e3ade08b5d3c88e5ccc1e07fc
-Size (Test-Trap-v0.2.2.tar.gz) = 46055 bytes
+SHA1 (Test-Trap-v0.2.4.tar.gz) = 21d5f5290e8d32258f5e63e93d797f477e9b4d71
+RMD160 (Test-Trap-v0.2.4.tar.gz) = d782fdbb3ab0a715abdac2e0aa6a6e8074266cf5
+Size (Test-Trap-v0.2.4.tar.gz) = 48373 bytes



Home | Main Index | Thread Index | Old Index