| Index: runtime/bin/file_linux.cc
|
| diff --git a/runtime/bin/file_linux.cc b/runtime/bin/file_linux.cc
|
| index b816cc7e7a53430afe91bb0d2c45480f19e4f3dc..4a01e1c3064698f1647cdfe6ed500c7080d6b699 100644
|
| --- a/runtime/bin/file_linux.cc
|
| +++ b/runtime/bin/file_linux.cc
|
| @@ -129,6 +129,15 @@ bool File::Create(const char* name) {
|
| }
|
|
|
|
|
| +bool File::Delete(const char* name) {
|
| + int status = remove(name);
|
| + if (status == -1) {
|
| + return false;
|
| + }
|
| + return true;
|
| +}
|
| +
|
| +
|
| bool File::IsAbsolutePath(const char* pathname) {
|
| return (pathname != NULL && pathname[0] == '/');
|
| }
|
|
|