]> Sergey Matveev's repositories - public-inbox.git/commitdiff
xapcmd: drop outdated comment
authorEric Wong <e@yhbt.net>
Fri, 7 Aug 2020 01:14:02 +0000 (01:14 +0000)
committerEric Wong <e@yhbt.net>
Fri, 7 Aug 2020 23:45:36 +0000 (23:45 +0000)
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

index 47a018d2b6e538ecc16f1338d43c1343ef6388a1..97a51d1bc8b3f7637cf5a7c35afaa9094de8e0c4 100644 (file)
@@ -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";