Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to rename precomp files multiple times on Windows
File renaming can easily race and fail on Windows. There's no great solution, so instead just try 10 times catching a failure (and returning out of the loop and method if it succeeds), and if it hasn't succeeded after that, try one more time without catching a failure.
- Loading branch information
1 parent
4f61a10
commit a9510b8
Showing
2 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ my $allowed = ( | |
Q{$AWAITER}, | ||
Q{$CWD}, | ||
Q{$CORE-SETTING-REV}, | ||
Q{$DISTRO}, | ||
Q{$ERR}, | ||
Q{$IN}, | ||
Q{$OUT}, | ||
|