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

Unified Diff: runtime/bin/directory_android.cc

Issue 16000003: Fix some errors in the Android compilation of standalone Dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 | runtime/bin/eventhandler_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/directory_android.cc
diff --git a/runtime/bin/directory_android.cc b/runtime/bin/directory_android.cc
index 24193f9de9997ade7b39e57f78749edd5b838f31..f3ea9e67ac4703b5d047ede2e44cd700fa92aa71 100644
--- a/runtime/bin/directory_android.cc
+++ b/runtime/bin/directory_android.cc
@@ -229,7 +229,6 @@ static bool ListRecursively(PathBuffer* path,
path,
recursive,
follow_links,
- seen,
&current_link,
listing) && success;
break;
@@ -479,7 +478,7 @@ char* Directory::CreateTemp(const char* const_template) {
if (stat(ANDROID_TEMP_DIR, &st) != 0) {
mkdir(ANDROID_TEMP_DIR, 0777);
}
- path->Add(ANDROID_TEMP_DIR "/tmp/temp_dir1_");
+ path.Add(ANDROID_TEMP_DIR "/tmp/temp_dir1_");
} else if ((path.data)[path.length - 1] == '/') {
path.Add("temp_dir_");
}
@@ -489,7 +488,7 @@ char* Directory::CreateTemp(const char* const_template) {
}
char* result;
do {
- result = MakeTempDirectory(path->data);
+ result = MakeTempDirectory(path.data);
} while (result == NULL && errno == EINTR);
if (result == NULL) {
return NULL;
« no previous file with comments | « no previous file | runtime/bin/eventhandler_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698