Created
September 26, 2014 14:42
-
-
Save jjgod/4f55a00760c3658e08b5 to your computer and use it in GitHub Desktop.
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
diff --git a/content/browser/download/base_file_posix.cc b/content/browser/download/base_file_posix.cc | |
index 4cf987c..7dd88a8 100644 | |
--- a/content/browser/download/base_file_posix.cc | |
+++ b/content/browser/download/base_file_posix.cc | |
@@ -21,6 +21,7 @@ DownloadInterruptReason BaseFile::MoveFileAndAdjustPermissions( | |
int write_error = base::WriteFile(new_path, "", 0); | |
if (write_error < 0) | |
return LogSystemError("WriteFile", errno); | |
+ usleep(100); | |
} | |
int stat_error = stat(new_path.value().c_str(), &st); | |
bool stat_succeeded = (stat_error == 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment