| Index: runtime/bin/file_win.cc
|
| diff --git a/runtime/bin/file_win.cc b/runtime/bin/file_win.cc
|
| index 975b8f21b045948561745b5eda207be987b12bf1..b7454c59bcf8c81a1450227fa805829533b7fa94 100644
|
| --- a/runtime/bin/file_win.cc
|
| +++ b/runtime/bin/file_win.cc
|
| @@ -126,6 +126,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) {
|
| // Should we consider network paths?
|
| if (pathname == NULL) return false;
|
|
|