summaryrefslogtreecommitdiff
blob: cb295dc158782d8eea2ea363e6332a82a97c2a12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
This is idl0r's fix for bug 326279, rerolled for v0.3.3.

diff --git a/colorsvn-original b/colorsvn-original
index 4236121..4edf3c8 100644
--- 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,;