You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
653 B

https://bugs.gentoo.org/326279
--- a/colorsvn-original
+++ b/colorsvn-original
@@ -56,7 +56,7 @@
# Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA.
use Term::ANSIColor;
-use IPC::Open3;
+use IPC::Open2;
use strict;
use warnings;
@@ -332,7 +332,7 @@ if (! -t STDOUT || $commit == 1 || !$colortty{$terminal} || !$commresolved )
# Keep the pid of the svn process so we can get its return
# code and use that as our return code.
-my $svn_pid = open3('<&STDIN', \*SVNOUT, \*SVNOUT, $svnPath, @ARGV);
+my $svn_pid = open2(\*SVNOUT, '<&STDIN', $svnPath, @ARGV);
my $svnName = $svnPath;
$svnName =~ s,.*/(.*)$,$1,;