| Index: runtime/bin/file_macos.cc
|
| diff --git a/runtime/bin/file_macos.cc b/runtime/bin/file_macos.cc
|
| index ddc19cc029794e899f4c336332d2dcb251ebdcdd..bee67c4f03ab1548b45968988813afffe19b123e 100644
|
| --- a/runtime/bin/file_macos.cc
|
| +++ b/runtime/bin/file_macos.cc
|
| @@ -417,6 +417,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;
|
| }
|
|
|
|
|