mirror of
https://github.com/git/git.git
synced 2024-11-24 10:26:17 +08:00
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:
parent
836ff95df6
commit
971e628384
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user