pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Devel-Leak devel/p5-Devel-Leak: import p5-Dev...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e11a38fc3cc
branches:  trunk
changeset: 369263:6e11a38fc3cc
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Sep 27 21:02:10 2017 +0000

description:
devel/p5-Devel-Leak: import p5-Devel-Leak-0.04

Devel::Leak has two functions NoteSV and CheckSV.

NoteSV walks the perl internal table of allocated SVs (scalar values)
- (which actually contains arrays and hashes too), and records their
addresses in a table. It returns a count of these "things", and
stores a pointer to the table (which is obtained from the heap using
malloc()) in its argument.

CheckSV is passed argument which holds a pointer to a table created
by NoteSV. It re-walks the perl-internals and calls sv_dump() for
any "things" which did not exist when NoteSV was called. It returns
a count of the number of "things" now allocated.

diffstat:

 devel/p5-Devel-Leak/DESCR    |  12 ++++++++++++
 devel/p5-Devel-Leak/Makefile |  15 +++++++++++++++
 devel/p5-Devel-Leak/distinfo |   6 ++++++
 3 files changed, 33 insertions(+), 0 deletions(-)

diffs (45 lines):

diff -r 37fe90ee0030 -r 6e11a38fc3cc devel/p5-Devel-Leak/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Devel-Leak/DESCR Wed Sep 27 21:02:10 2017 +0000
@@ -0,0 +1,12 @@
+Devel::Leak has two functions NoteSV and CheckSV.
+
+NoteSV walks the perl internal table of allocated SVs (scalar values)
+- (which actually contains arrays and hashes too), and records their
+addresses in a table. It returns a count of these "things", and
+stores a pointer to the table (which is obtained from the heap using
+malloc()) in its argument.
+
+CheckSV is passed argument which holds a pointer to a table created
+by NoteSV. It re-walks the perl-internals and calls sv_dump() for
+any "things" which did not exist when NoteSV was called. It returns
+a count of the number of "things" now allocated.
diff -r 37fe90ee0030 -r 6e11a38fc3cc devel/p5-Devel-Leak/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Devel-Leak/Makefile      Wed Sep 27 21:02:10 2017 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2017/09/27 21:02:10 wiz Exp $
+
+DISTNAME=      Devel-Leak-0.04
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Devel-Leak/
+COMMENT=       Perl module to look for objects that are not reclaimed
+
+PERL5_PACKLIST=                auto/Devel/Leak/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 37fe90ee0030 -r 6e11a38fc3cc devel/p5-Devel-Leak/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Devel-Leak/distinfo      Wed Sep 27 21:02:10 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/09/27 21:02:10 wiz Exp $
+
+SHA1 (Devel-Leak-0.04.tar.gz) = 4ead938f5c59dd2d220d98051d326a10bca900ef
+RMD160 (Devel-Leak-0.04.tar.gz) = 85f60d6674d3c55348045df9ab2d5815d59c2e67
+SHA512 (Devel-Leak-0.04.tar.gz) = 203e8eb372b1613dfe73c0f6813c615f7242ee8ef9dabcdd0bc971d0f09aefa98bce57bac292616757c28ed22c476c22743d0ffe8af2e823d724e24042161bb4
+Size (Devel-Leak-0.04.tar.gz) = 3437 bytes



Home | Main Index | Thread Index | Old Index