about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-08-07 01:14:02 +0000
committerEric Wong <e@yhbt.net>2020-08-07 23:45:36 +0000
commit4cbfa74212a5140bbf5d4fe74b8929215d7154a3 (patch)
treefc1636f6338f863634042472c7217b248ec0e3fe
parentfe7545b4682b8ffefc28c5b926fe601ecd83bd13 (diff)
downloadpublic-inbox-4cbfa74212a5140bbf5d4fe74b8929215d7154a3.tar.gz
We replaced Xtmpdir with File::Temp->newdir in
commit 2a3e3a0469f54f6a4f80bf04614e5ddd794a6c5e
("xapcmd: replace Xtmpdirs with File::Temp->newdir")
but forgot to remove the outdated comment.
-rw-r--r--lib/PublicInbox/Xapcmd.pm1
1 files changed, 0 insertions, 1 deletions
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";