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); |