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

Unified Diff: runtime/bin/directory_macos.cc

Issue 10823209: Add support for building the Dart VM for Android OS. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
Index: runtime/bin/directory_macos.cc
diff --git a/runtime/bin/directory_posix.cc b/runtime/bin/directory_macos.cc
similarity index 99%
rename from runtime/bin/directory_posix.cc
rename to runtime/bin/directory_macos.cc
index 7adb80f9156ab2d308131aee2181243b35b85a27..6df8cf7edb6affe99cbdcd070c716ca4688d4dc4 100644
--- a/runtime/bin/directory_posix.cc
+++ b/runtime/bin/directory_macos.cc
@@ -386,7 +386,6 @@ bool Directory::Create(const char* dir_name) {
return (TEMP_FAILURE_RETRY(mkdir(dir_name, 0777)) == 0);
}
cshapiro 2012/08/07 20:56:54 2 spaces between definitions.
jackpal 2012/08/07 21:43:26 Done.
-
char* Directory::CreateTemp(const char* const_template) {
// Returns a new, unused directory name, modifying the contents of
// dir_template. Creates the directory with the permissions specified
@@ -415,7 +414,6 @@ char* Directory::CreateTemp(const char* const_template) {
return path;
}
cshapiro 2012/08/07 20:56:54 ditto
jackpal 2012/08/07 21:43:26 Done.
-
bool Directory::Delete(const char* dir_name, bool recursive) {
if (!recursive) {
return (TEMP_FAILURE_RETRY(remove(dir_name)) == 0);

Powered by Google App Engine
This is Rietveld 408576698