diff -Nru libipc-run3-perl-0.044/bin/run3profpp libipc-run3-perl-0.045/bin/run3profpp --- libipc-run3-perl-0.044/bin/run3profpp 2010-08-22 19:41:42.000000000 +0000 +++ libipc-run3-perl-0.045/bin/run3profpp 2011-12-23 18:49:20.000000000 +0000 @@ -1,6 +1,6 @@ #!/usr/local/bin/perl -w -$VERSION = 0.044; +$VERSION = 0.045; =head1 NAME diff -Nru libipc-run3-perl-0.044/Changes libipc-run3-perl-0.045/Changes --- libipc-run3-perl-0.044/Changes 2010-08-22 19:41:39.000000000 +0000 +++ libipc-run3-perl-0.045/Changes 2011-12-23 18:49:09.000000000 +0000 @@ -1,5 +1,9 @@ Changes file for IPC::Run3 +0.045 2011-12-23 + skip a test that tickles an OpenBSD bug and hangs the process (thanks, + BinGOs) + 0.044 2010-08-22 ignore user-defined __DIE__ handler in _type (Jeff Lavallee) Added test for __DIE__ handler behavior @@ -14,7 +18,7 @@ Rewrite a test in t/utf8.t that runs afoul of a misfeature in Perl 5.8.0 (turn on ":utf8" by default on all filehandles when running in a UTF8 locale; fixed since 5.8.1) - + 0.041 2008-08-03 Handle arbitrary binmode() layers in "binmode_*" options; for backward compatibility, any true option that doesn't start @@ -26,12 +30,12 @@ (cf. RT 14272). 0.040 2007-12-26 - major rewrite of pod: + major rewrite of pod: - describe all possible forms of redirectors - list available options - explain how run3() works fix #31343 by using the three argument form of open() for files; - unfortunately that isn't available before Perl 5.6.0, + unfortunately that isn't available before Perl 5.6.0, hence "use 5.006_00"; also use lexical filehandles everywhere implement options append_{stdout,stderr}; add test cases edit META.yml so that the profiling modules IPC::Run3::Prof* @@ -64,28 +68,28 @@ (from the libwin32 CPAN distribution) as omitted these parameters from the Perl wrapper add a note to the documentation about the problems with - concurrent calls to run3 in a threaded environment + concurrent calls to run3 in a threaded environment (incl. fork() on Win32) make sure all tests run with warnings on 0.033 2005-11-15 make documentation in IPC/Run3/ProfReporter.pm comply with older versions of Pod::Coverage (fixes bug #15749) - new version of t/fork.t that will work on Windows + new version of t/fork.t that will work on Windows (there are still unresolved issues on Cygwin) switch t/fd_leak.t to use Test::More and relax file descriptor check - to "same or fewer fd's after the call to run3 than before", + to "same or fewer fd's after the call to run3 than before", because Darwin 7.2 sometimes actually report fewer fd's (fixes bug #15741) - extricated some dead code from IPC/Run3.pm that + extricated some dead code from IPC/Run3.pm that resulted in 6 unused file descriptors fix call to binmode missing a filehandle in IPC/Run3.pm fix warnings in test scripts 0.032 2005-10-19 comaint granted to RSCHUPP (thanks, barry!) - fix bug #15003 "Data corruption with fork when both parent - and child use run3": + fix bug #15003 "Data corruption with fork when both parent + and child use run3": - purge %fh_cache when we detect that a fork has happened - add t/fork.t to detect "crossover" between child processes - fix (and test) only works on Unix, Windows has more @@ -108,7 +112,7 @@ 0.010 2004-03-09 01:46:11 EST POD cleaned up - shell quoting improved for win32 + shell quoting improved for win32 0.009 2003-09-26 15:44:18 EDT CRLF bugs fixed on WinNT, WinXP, Win2K @@ -128,7 +132,7 @@ 0.003 2003-02-11 15:47:59 EST use dup2() to overwrite STDIN for the child - Added $ENV{IPCRUN3DEBUG} (and, silently, IPCRUNDEBUG) + Added $ENV{IPCRUN3DEBUG} (and, silently, IPCRUNDEBUG) debugging support. TODO: Add more debugging warnings. 0.000_1 2003-02-04 15:09:30 diff -Nru libipc-run3-perl-0.044/debian/changelog libipc-run3-perl-0.045/debian/changelog --- libipc-run3-perl-0.044/debian/changelog 2010-08-24 14:45:53.000000000 +0000 +++ libipc-run3-perl-0.045/debian/changelog 2011-12-23 21:28:40.000000000 +0000 @@ -1,3 +1,21 @@ +libipc-run3-perl (0.045-1) unstable; urgency=low + + [ Ansgar Burchardt ] + * debian/control: Convert Vcs-* fields to Git. + + [ Salvatore Bonaccorso ] + * Imported Upstream version 0.045 + * debian/copyright: Replace DEP5 Format-Specification URL from + svn.debian.org to anonscm.debian.org URL. + * Email change: Salvatore Bonaccorso -> carnil@debian.org + * Drop fix-spelling-error-in-manpage.patch patch. + Patch is applied upstream. + * Bump Standards-Version to 3.9.2 + * Update debian/copyright file. + Update copyright years for debian/* packaging. + + -- Salvatore Bonaccorso Fri, 23 Dec 2011 22:23:47 +0100 + libipc-run3-perl (0.044-1) unstable; urgency=low [ Ansgar Burchardt ] diff -Nru libipc-run3-perl-0.044/debian/control libipc-run3-perl-0.045/debian/control --- libipc-run3-perl-0.044/debian/control 2010-08-24 14:45:53.000000000 +0000 +++ libipc-run3-perl-0.045/debian/control 2011-12-23 21:28:40.000000000 +0000 @@ -5,11 +5,11 @@ Build-Depends-Indep: libtest-pod-coverage-perl, libtest-pod-perl, perl Maintainer: Debian Perl Group Uploaders: Damyan Ivanov , - Salvatore Bonaccorso -Standards-Version: 3.9.1 + Salvatore Bonaccorso +Standards-Version: 3.9.2 Homepage: http://search.cpan.org/dist/IPC-Run3/ -Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libipc-run3-perl/ -Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libipc-run3-perl/ +Vcs-Git: git://git.debian.org/pkg-perl/packages/libipc-run3-perl.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libipc-run3-perl.git Package: libipc-run3-perl Architecture: all diff -Nru libipc-run3-perl-0.044/debian/copyright libipc-run3-perl-0.045/debian/copyright --- libipc-run3-perl-0.044/debian/copyright 2010-08-24 14:45:53.000000000 +0000 +++ libipc-run3-perl-0.045/debian/copyright 2011-12-23 21:28:40.000000000 +0000 @@ -1,4 +1,4 @@ -Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Format-Specification: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=135 Maintainer: Barrie Slaymaker Source: http://search.cpan.org/dist/IPC-Run3/ Name: IPC-Run3 @@ -10,7 +10,7 @@ Files: debian/* Copyright: 2004, 2005, 2006, Piotr Roszatycki 2008, 2009, Damyan Ivanov - 2010, Salvatore Bonaccorso + 2010-2011, Salvatore Bonaccorso License: BSD or Artistic or GPL-1+ License: BSD diff -Nru libipc-run3-perl-0.044/debian/patches/fix-spelling-error-in-manpage.patch libipc-run3-perl-0.045/debian/patches/fix-spelling-error-in-manpage.patch --- libipc-run3-perl-0.044/debian/patches/fix-spelling-error-in-manpage.patch 2010-08-24 14:45:53.000000000 +0000 +++ libipc-run3-perl-0.045/debian/patches/fix-spelling-error-in-manpage.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -Description: Fix spelling errors in manpage of IPC::Run3 -Origin: vendor -Bug: https://rt.cpan.org/Ticket/Display.html?id=60685 -Forwarded: yes -Author: Salvatore Bonaccorso -Reviewed-by: Salvatore Bonaccorso -Last-Update: 2010-08-24 - ---- a/lib/IPC/Run3.pm -+++ b/lib/IPC/Run3.pm -@@ -785,7 +785,7 @@ - - =item * - --better: hides OS dependancies -+better: hides OS dependencies - - =item * - diff -Nru libipc-run3-perl-0.044/debian/patches/series libipc-run3-perl-0.045/debian/patches/series --- libipc-run3-perl-0.044/debian/patches/series 2010-08-24 14:45:53.000000000 +0000 +++ libipc-run3-perl-0.045/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -fix-spelling-error-in-manpage.patch diff -Nru libipc-run3-perl-0.044/lib/IPC/Run3/ProfArrayBuffer.pm libipc-run3-perl-0.045/lib/IPC/Run3/ProfArrayBuffer.pm --- libipc-run3-perl-0.044/lib/IPC/Run3/ProfArrayBuffer.pm 2010-08-22 19:41:42.000000000 +0000 +++ libipc-run3-perl-0.045/lib/IPC/Run3/ProfArrayBuffer.pm 2011-12-23 18:49:20.000000000 +0000 @@ -1,6 +1,6 @@ package IPC::Run3::ProfArrayBuffer; -$VERSION = 0.044; +$VERSION = 0.045; =head1 NAME diff -Nru libipc-run3-perl-0.044/lib/IPC/Run3/ProfLogger.pm libipc-run3-perl-0.045/lib/IPC/Run3/ProfLogger.pm --- libipc-run3-perl-0.044/lib/IPC/Run3/ProfLogger.pm 2010-08-22 19:41:42.000000000 +0000 +++ libipc-run3-perl-0.045/lib/IPC/Run3/ProfLogger.pm 2011-12-23 18:49:20.000000000 +0000 @@ -1,6 +1,6 @@ package IPC::Run3::ProfLogger; -$VERSION = 0.044; +$VERSION = 0.045; =head1 NAME diff -Nru libipc-run3-perl-0.044/lib/IPC/Run3/ProfLogReader.pm libipc-run3-perl-0.045/lib/IPC/Run3/ProfLogReader.pm --- libipc-run3-perl-0.044/lib/IPC/Run3/ProfLogReader.pm 2010-08-22 19:41:42.000000000 +0000 +++ libipc-run3-perl-0.045/lib/IPC/Run3/ProfLogReader.pm 2011-12-23 18:49:20.000000000 +0000 @@ -1,6 +1,6 @@ package IPC::Run3::ProfLogReader; -$VERSION = 0.044; +$VERSION = 0.045; =head1 NAME diff -Nru libipc-run3-perl-0.044/lib/IPC/Run3/ProfPP.pm libipc-run3-perl-0.045/lib/IPC/Run3/ProfPP.pm --- libipc-run3-perl-0.044/lib/IPC/Run3/ProfPP.pm 2010-08-22 19:41:42.000000000 +0000 +++ libipc-run3-perl-0.045/lib/IPC/Run3/ProfPP.pm 2011-12-23 18:49:20.000000000 +0000 @@ -1,6 +1,6 @@ package IPC::Run3::ProfPP; -$VERSION = 0.044; +$VERSION = 0.045; =head1 NAME diff -Nru libipc-run3-perl-0.044/lib/IPC/Run3/ProfReporter.pm libipc-run3-perl-0.045/lib/IPC/Run3/ProfReporter.pm --- libipc-run3-perl-0.044/lib/IPC/Run3/ProfReporter.pm 2010-08-22 19:41:42.000000000 +0000 +++ libipc-run3-perl-0.045/lib/IPC/Run3/ProfReporter.pm 2011-12-23 18:49:20.000000000 +0000 @@ -1,6 +1,6 @@ package IPC::Run3::ProfReporter; -$VERSION = 0.044; +$VERSION = 0.045; =head1 NAME diff -Nru libipc-run3-perl-0.044/lib/IPC/Run3.pm libipc-run3-perl-0.045/lib/IPC/Run3.pm --- libipc-run3-perl-0.044/lib/IPC/Run3.pm 2010-08-22 19:41:42.000000000 +0000 +++ libipc-run3-perl-0.045/lib/IPC/Run3.pm 2011-12-23 18:49:20.000000000 +0000 @@ -8,11 +8,11 @@ =head1 VERSION -version 0.044 +version 0.045 =cut -our $VERSION = '0.044'; +our $VERSION = '0.045'; =head1 SYNOPSIS @@ -785,7 +785,7 @@ =item * -better: hides OS dependancies +better: hides OS dependencies =item * diff -Nru libipc-run3-perl-0.044/MANIFEST libipc-run3-perl-0.045/MANIFEST --- libipc-run3-perl-0.044/MANIFEST 2010-08-22 19:44:32.000000000 +0000 +++ libipc-run3-perl-0.045/MANIFEST 2011-12-23 18:49:42.000000000 +0000 @@ -18,9 +18,11 @@ t/IPC-Run3-ProfReporter.t t/IPC-Run3-profiling.t t/IPC-Run3.t +t/die_handler.t t/fd_leak.t t/fork.t t/pod-coverage.t t/pod.t t/utf8.t -META.yml Module meta-data (added by MakeMaker) +META.yml Module YAML meta-data (added by MakeMaker) +META.json Module JSON meta-data (added by MakeMaker) diff -Nru libipc-run3-perl-0.044/META.json libipc-run3-perl-0.045/META.json --- libipc-run3-perl-0.044/META.json 1970-01-01 00:00:00.000000000 +0000 +++ libipc-run3-perl-0.045/META.json 2011-12-23 18:49:42.000000000 +0000 @@ -0,0 +1,49 @@ +{ + "abstract" : "run a subprocess with input/ouput redirection", + "author" : [ + "Barrie Slaymaker " + ], + "dynamic_config" : 1, + "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.112621", + "license" : [ + "open_source" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "IPC-Run3", + "no_index" : { + "directory" : [ + "lib/IPC/Run3" + ], + "file" : [ + "bin/run3profpp" + ] + }, + "prereqs" : { + "build" : { + "requires" : { + "ExtUtils::MakeMaker" : 0 + } + }, + "configure" : { + "requires" : { + "ExtUtils::MakeMaker" : 0 + } + }, + "runtime" : { + "requires" : { + "Test::More" : "0.31", + "Time::HiRes" : 0 + } + } + }, + "release_status" : "stable", + "resources" : { + "repository" : { + "url" : "http://github.com/rjbs/ipc-run3/" + } + }, + "version" : "0.045" +} diff -Nru libipc-run3-perl-0.044/META.yml libipc-run3-perl-0.045/META.yml --- libipc-run3-perl-0.044/META.yml 2010-08-22 19:44:32.000000000 +0000 +++ libipc-run3-perl-0.045/META.yml 2011-12-23 18:49:42.000000000 +0000 @@ -1,29 +1,26 @@ ---- #YAML:1.0 -name: IPC-Run3 -version: 0.044 -abstract: run a subprocess with input/ouput redirection +--- +abstract: 'run a subprocess with input/ouput redirection' author: - - Barrie Slaymaker -license: open_source -distribution_type: module -configure_requires: - ExtUtils::MakeMaker: 0 + - 'Barrie Slaymaker ' build_requires: - ExtUtils::MakeMaker: 0 + ExtUtils::MakeMaker: 0 +configure_requires: + ExtUtils::MakeMaker: 0 +dynamic_config: 1 +generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.112621' +license: open_source +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: 1.4 +name: IPC-Run3 +no_index: + directory: + - lib/IPC/Run3 + file: + - bin/run3profpp requires: - Test::More: 0.31 - Time::HiRes: 0 + Test::More: 0.31 + Time::HiRes: 0 resources: - repository: http://github.com/rjbs/ipc-run3/ -no_index: - dir: - - lib/IPC/Run3 - directory: - - t - - inc - file: - - bin/run3profpp -generated_by: ExtUtils::MakeMaker version 6.56 -meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + repository: http://github.com/rjbs/ipc-run3/ +version: 0.045 diff -Nru libipc-run3-perl-0.044/t/die_handler.t libipc-run3-perl-0.045/t/die_handler.t --- libipc-run3-perl-0.044/t/die_handler.t 1970-01-01 00:00:00.000000000 +0000 +++ libipc-run3-perl-0.045/t/die_handler.t 2010-08-22 19:33:36.000000000 +0000 @@ -0,0 +1,13 @@ +#!perl -w + +use Test::More tests => 1; + +use IPC::Run3; +use strict; + +local $SIG{__DIE__} = sub { ok(0, '__DIE__ handler should not be called'); }; + +my ( $in, $out, $err ); + +ok(run3 [$^X, '-e1' ], $in, $out, $err); + diff -Nru libipc-run3-perl-0.044/t/IPC-Run3.t libipc-run3-perl-0.045/t/IPC-Run3.t --- libipc-run3-perl-0.044/t/IPC-Run3.t 2009-01-15 15:28:27.000000000 +0000 +++ libipc-run3-perl-0.045/t/IPC-Run3.t 2011-12-23 18:48:35.000000000 +0000 @@ -205,19 +205,28 @@ # check that run3 doesn't die on platforms where system() # returns -1 when SIGCHLD is ignored (RT #14272) sub { - my $system_child_error = eval - { - local $SIG{CHLD} = "IGNORE"; - system $^X, '-e', 0; - $?; - }; - my $run3_child_error = eval - { - local $SIG{CHLD} = "IGNORE"; - run3 [ $^X, '-e', 0 ], \undef, \undef, \undef, { return_if_system_error => 1 }; - $?; - }; - ok $run3_child_error, $system_child_error; + use Config; + + if ( $^O eq 'openbsd' and $Config{'useithreads'} ) { + ok(1); # Bug in OpenBSD threaded perls causes a hang + } + else { + + my $system_child_error = eval + { + local $SIG{CHLD} = "IGNORE"; + system $^X, '-e', 0; + $?; + }; + my $run3_child_error = eval + { + local $SIG{CHLD} = "IGNORE"; + run3 [ $^X, '-e', 0 ], \undef, \undef, \undef, { return_if_system_error => 1 }; + $?; + }; + ok $run3_child_error, $system_child_error; + + } }, );