| Index: runtime/bin/file_linux.cc
|
| diff --git a/runtime/bin/file_linux.cc b/runtime/bin/file_linux.cc
|
| index e6b27f8ace515a8b1d2a4073c01be6e9005ada64..aeba5c836d82552ea3451462145d7d2a102737db 100644
|
| --- a/runtime/bin/file_linux.cc
|
| +++ b/runtime/bin/file_linux.cc
|
| @@ -182,7 +182,7 @@ File* File::FileOpenW(const wchar_t* system_name, FileOpenMode mode) {
|
| }
|
|
|
|
|
| -File* File::ScopedOpen(const char* name, FileOpenMode mode) {
|
| +File* File::Open(const char* name, FileOpenMode mode) {
|
| // Report errors for non-regular files.
|
| struct stat64 st;
|
| if (TEMP_FAILURE_RETRY(stat64(name, &st)) == 0) {
|
| @@ -220,12 +220,6 @@ File* File::ScopedOpen(const char* name, FileOpenMode mode) {
|
| }
|
|
|
|
|
| -File* File::Open(const char* path, FileOpenMode mode) {
|
| - // ScopedOpen doesn't actually need a scope.
|
| - return ScopedOpen(path, mode);
|
| -}
|
| -
|
| -
|
| File* File::OpenStdio(int fd) {
|
| return ((fd < 0) || (2 < fd)) ? NULL : new File(new FileHandle(fd));
|
| }
|
|
|