| Index: runtime/bin/file_macos.cc
|
| diff --git a/runtime/bin/file_macos.cc b/runtime/bin/file_macos.cc
|
| index 3cc3911fc7ceb96f5251d1a5401f06b8fd71c64e..66ea550edc03f263e9ac8234c26dab8e062244e1 100644
|
| --- a/runtime/bin/file_macos.cc
|
| +++ b/runtime/bin/file_macos.cc
|
| @@ -135,6 +135,15 @@ bool File::Create(const char* name) {
|
| }
|
|
|
|
|
| +bool File::Delete(const char* name) {
|
| + int status = remove(name);
|
| + if (status == -1) {
|
| + return false;
|
| + }
|
| + return true;
|
| +}
|
| +
|
| +
|
| char* File::GetCanonicalPath(const char* pathname) {
|
| char* abs_path = NULL;
|
| if (pathname != NULL) {
|
|
|