From 4cbfa74212a5140bbf5d4fe74b8929215d7154a3 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 7 Aug 2020 01:14:02 +0000 Subject: xapcmd: drop outdated comment 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(-) (limited to 'lib/PublicInbox/Xapcmd.pm') 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"; -- cgit v1.2.3-24-ge0c7