Documented:
- Issue tracker is now github
Changed:
- Skips tee and leak tests for closed STDIN on Perl prior to
5.12 when PERL_UNICODE=D. Documented lack of support as
a known issue.
- Isolated tee subprocesses from effects of PERL_UNICODE as a
precaution (though this did not fix the above issue).
- Improved layer detection for handles proxied due to being closed
or tied.
Fixed:
- Nested merged captures that include an external program call no longer
leak STDERR to the outer scope [rt.cpan.org #79376]
- Work around rt.perl.org #114404 by forcing PerlIO layers back on
original handles [rt.cpan.org #78819]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Capture-Tiny?expand=0&rev=23
Added
- When capture or tee are called in void context, Capture::Tiny
skips reading back from the capture handles if it can do so safely
Fixed:
- Tied STDIN is always localized before redirections to avoid tees
hanging on MSWin32
- Copying and reopening STDIN is necessary to avoid tees hanging on MSWin32.
Fixed:
- Avoids reopening STDIN while setting up a capture, which avoids
some problems with pathological tied filehandle implementations
such as in FCGI
Tested:
- Re-enabled tied STDIN testing for MSWin32 to see if changes above
avoid crashes seen historically
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Capture-Tiny?expand=0&rev=21
Fixed:
- Added a workaround for failing t/08-stdin-closed.t under blead
perl / 5.15.8 [RT#111070]
Documented:
- Clarified some limitations; added a link to CPAN Testers Matrix;
removed redundant BUGS section; standardized terminology
Tested:
- Added a test using Inline::C to print to stdout and stderr in response
to RT#71701
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Capture-Tiny?expand=0&rev=19
Fixed:
- Tests will not use Test::Differences version 0.60 or greater
- Setting PERL_CAPTURE_TINY_TIMEOUT to 0 will disable timeouts
- Added support for $ENV{PERL_CAPTURE_TINY_TIMEOUT} to control
the timeout period under 'tee'; tests set not to timeout to
avoid false FAIL reports on overloaded virtual machine smokers
Fixed:
- $@ set within a captured block is no longer lost when the capture
is completed; likewise, the initial value of $@ is not lost
during capture (when no subsequent error occurs) (RT #65139)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Capture-Tiny?expand=0&rev=7