From: Eric Wong Date: Fri, 7 Aug 2020 01:14:02 +0000 (+0000) Subject: xapcmd: drop outdated comment X-Git-Tag: v1.6.0~171 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=4cbfa74212a5140bbf5d4fe74b8929215d7154a3 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. --- 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";