I think this code is dead since rename was reimplemented on windows in r315079.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Unfortunately, we were still seeing occasional permission denied errors on our bots even with that change.
e.g. https://build.chromium.org/p/chromium.clang/builders/ToTWinThinLTO64/builds/101
So this code was added as part of D39874.
The confusion is understandable. Bob, can you please update the comment to make it clear why we need that code even with a better implementation of rename?