Skip to content

Commit

Permalink
git-svn: Fixes my() parameter list syntax error in pre-5.8 Perl
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Griep <marcus@griep.us>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Marcus Griep authored and Junio C Hamano committed Sep 10, 2008
1 parent 836ff95 commit 971e628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-svn.perl
Original file line number Diff line number Diff line change
Expand Up @@ -4383,7 +4383,7 @@ sub config_pager {

sub run_pager {
return unless -t *STDOUT && defined $pager;
pipe my $rfd, my $wfd or return;
pipe my ($rfd, $wfd) or return;
defined(my $pid = fork) or ::fatal "Can't fork: $!";
if (!$pid) {
open STDOUT, '>&', $wfd or
Expand Down

0 comments on commit 971e628

Please sign in to comment.