| Index: runtime/bin/file_linux.cc
|
| diff --git a/runtime/bin/file_linux.cc b/runtime/bin/file_linux.cc
|
| index ff801adf8fe7efe5e4443ea0868e38bb69d8bea1..d8a9ececa78f5f2173ddd4c342d9e437c0a957b9 100644
|
| --- a/runtime/bin/file_linux.cc
|
| +++ b/runtime/bin/file_linux.cc
|
| @@ -451,6 +451,7 @@ File::Type File::GetType(const char* pathname, bool follow_links) {
|
| if (S_ISDIR(entry_info.st_mode)) return File::kIsDirectory;
|
| if (S_ISREG(entry_info.st_mode)) return File::kIsFile;
|
| if (S_ISLNK(entry_info.st_mode)) return File::kIsLink;
|
| + if (S_ISSOCK(entry_info.st_mode)) return File::kIsFile; // HACK.
|
| return File::kDoesNotExist;
|
| }
|
|
|
|
|