search for: 110ae9f

Displaying 2 results from an estimated 2 matches for "110ae9f".

Did you mean: 10ae98
2010 Mar 08
1
[PATCH] ExecHelper: Code cleanup
--- lib/Sys/VirtV2V/ExecHelper.pm | 18 +++++------------- 1 files changed, 5 insertions(+), 13 deletions(-) diff --git a/lib/Sys/VirtV2V/ExecHelper.pm b/lib/Sys/VirtV2V/ExecHelper.pm index 87f6d06..110ae9f 100644 --- a/lib/Sys/VirtV2V/ExecHelper.pm +++ b/lib/Sys/VirtV2V/ExecHelper.pm @@ -68,25 +68,17 @@ sub run my $self = {}; bless($self, $class); - $self->{output} = File::Temp->new(); - $self->{status} = $self->_run(@command); - - return $self; -} - -sub _run -{ -...
2010 Mar 08
1
[PATCH] ExecHelper: Use tmpfile() instead of File::Temp->new()
Building on EL-5 fails when the result of File::Temp->new() is passed to open3(). tmpfile() works consistently. --- lib/Sys/VirtV2V/ExecHelper.pm | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Sys/VirtV2V/ExecHelper.pm b/lib/Sys/VirtV2V/ExecHelper.pm index 110ae9f..f577ff6 100644 --- a/lib/Sys/VirtV2V/ExecHelper.pm +++ b/lib/Sys/VirtV2V/ExecHelper.pm @@ -20,7 +20,7 @@ package Sys::VirtV2V::ExecHelper; use strict; use warnings; -use File::Temp; +use File::Temp qw(:POSIX); use IPC::Open3; use POSIX ":sys_wait_h"; @@ -71,7 +71,7 @@ sub run...