git-svn: Fixes my() parameter list syntax error in pre-5.8 Perl

Signed-off-by: Marcus Griep <marcus@griep.us>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Marcus Griep 2008-09-10 11:09:46 -04:00 committed by Junio C Hamano
parent 836ff95df6
commit 971e628384

View File

@ -4383,7 +4383,7 @@ sub config_pager {
sub run_pager { sub run_pager {
return unless -t *STDOUT && defined $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: $!"; defined(my $pid = fork) or ::fatal "Can't fork: $!";
if (!$pid) { if (!$pid) {
open STDOUT, '>&', $wfd or open STDOUT, '>&', $wfd or