pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/p5-Devel-Leak



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Sep 27 21:02:10 UTC 2017

Added Files:
        pkgsrc/devel/p5-Devel-Leak: DESCR Makefile distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-Devel-Leak/DESCR \
    pkgsrc/devel/p5-Devel-Leak/Makefile pkgsrc/devel/p5-Devel-Leak/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/p5-Devel-Leak/DESCR
diff -u /dev/null pkgsrc/devel/p5-Devel-Leak/DESCR:1.1
--- /dev/null   Wed Sep 27 21:02:10 2017
+++ pkgsrc/devel/p5-Devel-Leak/DESCR    Wed Sep 27 21:02:10 2017
@@ -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.
Index: pkgsrc/devel/p5-Devel-Leak/Makefile
diff -u /dev/null pkgsrc/devel/p5-Devel-Leak/Makefile:1.1
--- /dev/null   Wed Sep 27 21:02:10 2017
+++ pkgsrc/devel/p5-Devel-Leak/Makefile Wed Sep 27 21:02:10 2017
@@ -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"
Index: pkgsrc/devel/p5-Devel-Leak/distinfo
diff -u /dev/null pkgsrc/devel/p5-Devel-Leak/distinfo:1.1
--- /dev/null   Wed Sep 27 21:02:10 2017
+++ pkgsrc/devel/p5-Devel-Leak/distinfo Wed Sep 27 21:02:10 2017
@@ -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