| Index: runtime/bin/file_macos.cc
|
| diff --git a/runtime/bin/file_macos.cc b/runtime/bin/file_macos.cc
|
| index 920d01f230896bd41fee5744f4582d0f4ad4dfd2..989b49b58c48f7393c305abc2c1d5e185c41f6e9 100644
|
| --- a/runtime/bin/file_macos.cc
|
| +++ b/runtime/bin/file_macos.cc
|
| @@ -161,6 +161,12 @@ bool File::Create(const char* name) {
|
| }
|
|
|
|
|
| +bool File::CreateLink(const char* name, const char* target) {
|
| + int status = TEMP_FAILURE_RETRY(symlink(target, name));
|
| + return (status == 0);
|
| +}
|
| +
|
| +
|
| bool File::Delete(const char* name) {
|
| int status = TEMP_FAILURE_RETRY(remove(name));
|
| if (status == -1) {
|
|
|