From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id C6FB01FA0D for ; Fri, 7 Aug 2020 01:14:06 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 3/7] xapcmd: drop outdated comment Date: Fri, 7 Aug 2020 01:14:02 +0000 Message-Id: <20200807011406.12285-4-e@yhbt.net> In-Reply-To: <20200807011406.12285-1-e@yhbt.net> References: <20200807011406.12285-1-e@yhbt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: We replaced Xtmpdir with File::Temp->newdir in commit 2a3e3a0469f54f6a4f80bf04614e5ddd794a6c5e ("xapcmd: replace Xtmpdirs with File::Temp->newdir") but forgot to remove the outdated comment. --- lib/PublicInbox/Xapcmd.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/PublicInbox/Xapcmd.pm b/lib/PublicInbox/Xapcmd.pm index 47a018d2..97a51d1b 100644 --- a/lib/PublicInbox/Xapcmd.pm +++ b/lib/PublicInbox/Xapcmd.pm @@ -53,7 +53,6 @@ sub commit_changes ($$$$) { rename($old, "$new/old") or die "rename $old => $new/old: $!\n"; } - # Xtmpdir->DESTROY won't remove $new after this: rename($new, $old) or die "rename $new => $old: $!\n"; if (@st) { my $prev = "$old/old";