From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 286D41FA3D for ; Fri, 27 Oct 2023 09:40:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1698399642; bh=FxTj4WIBNWnbc4q8FUrLVfvwP3M0sagu5xAh8UC5M5M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=5GT9UTCXBVxMXeZxr3Rc75PqAiReNsrOJ+zJtfDMNJX5oIlyVE4rsAj8RYOhDdvNG vcfc47ItGw+3yeCdhQZ97qx9uG/kgP3EaLbnqGE/CUUdqj6mgMBwpIT3q2s8kE+tA5 aXBnLSv4sN/b25eq5wHgPLS5+jWJN3zrwWmpWIxk= From: Eric Wong To: spew@80x24.org Subject: [PATCH 15/18] lei_rediff: ->close for popen_wr Date: Fri, 27 Oct 2023 09:40:36 +0000 Message-ID: <20231027094039.3788289-15-e@80x24.org> In-Reply-To: <20231027094039.3788289-1-e@80x24.org> References: <20231027094039.3788289-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: --- lib/PublicInbox/LeiRediff.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/LeiRediff.pm b/lib/PublicInbox/LeiRediff.pm index 230f3e83..fdff4b4b 100644 --- a/lib/PublicInbox/LeiRediff.pm +++ b/lib/PublicInbox/LeiRediff.pm @@ -126,7 +126,7 @@ EOM qw(fast-import --quiet --done --date-format=raw)], $lei->{env}, { 2 => $lei->{2} }); print $w $ta, "\n", $tb, "\ndone\n" or die "print fast-import: $!"; - close $w or die "close w fast-import: \$?=$? \$!=$!"; + $w->close or die "close w fast-import: \$?=$? \$!=$!"; my $cmd = [ 'diff' ]; _lei_diff_prepare($lei, $cmd);