Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(629)

Unified Diff: lib/src/io.dart

Issue 1564653002: Work around dart-lang/sdk#25353. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/io.dart
diff --git a/lib/src/io.dart b/lib/src/io.dart
index ea9709d232c60bbc698081f5519372e7c1b25b59..e70b7a0f37308652172411726f4396bcf7e2c7ff 100644
--- a/lib/src/io.dart
+++ b/lib/src/io.dart
@@ -347,6 +347,10 @@ void _attempt(String description, void operation()) {
return "it was in use by another process";
}
+ if (error.osError.errorCode == 145) {
+ return "of dart-lang/sdk#25353";
+ }
+
return null;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698