pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/p5-Test-Trap



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Mon Jun  9 19:07:04 UTC 2014

Modified Files:
        pkgsrc/devel/p5-Test-Trap: Makefile distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/p5-Test-Trap/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/p5-Test-Trap/distinfo

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




Home | Main Index | Thread Index | Old Index