- updated to 0.18

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
This commit is contained in:
Stephan Kulow 2012-05-23 13:22:18 +00:00 committed by Git OBS Bridge
parent c5dbed8f93
commit 5453da6b9e
4 changed files with 34 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dc631076374b946f4ad643ee5949bc8b8f2a3644813d1803ca90c077b228d5e0
size 27991

3
Capture-Tiny-0.18.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3327997211bb8795cb0496010fd64d9073c636b5ad6d84a1d3bd083560ac5e39
size 29485

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Wed May 23 13:21:03 UTC 2012 - coolo@suse.com
- updated to 0.18
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
-------------------------------------------------------------------
Mon Feb 27 08:43:08 UTC 2012 - coolo@suse.com

View File

@ -17,7 +17,7 @@
Name: perl-Capture-Tiny
Version: 0.17
Version: 0.18
Release: 0
%define cpan_name Capture-Tiny
Summary: Capture STDOUT and STDERR from Perl, XS or external programs
@ -34,6 +34,7 @@ BuildRequires: perl-macros
#BuildRequires: perl(Inline)
#BuildRequires: perl(Test::Differences)
#BuildRequires: perl(Test::Requires)
#BuildRequires: perl(TieEvil)
#BuildRequires: perl(TieLC)
#BuildRequires: perl(Utils)
%{perl_requires}
@ -48,9 +49,11 @@ modules to use in any particular situation and just use this one.
%prep
%setup -q -n %{cpan_name}-%{version}
# MANUAL BEGIN
%if 0%{?sles_version} == 10 || 0%{?rhel_version} || 0%{?centos_version}
%{__perl} -p -i -e 's|6.31|6.30|' Makefile.PL
%endif
# MANUAL END
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor