| Index: runtime/bin/file_macos.cc
|
| diff --git a/runtime/bin/file_macos.cc b/runtime/bin/file_macos.cc
|
| index 9ba053a49e4ef1df8135fd27c36c3e0b70e726ea..9b7093daff51e3fe6336ad217173c90e1ee9c5e3 100644
|
| --- a/runtime/bin/file_macos.cc
|
| +++ b/runtime/bin/file_macos.cc
|
| @@ -212,6 +212,7 @@ File::StdioHandleType File::GetStdioHandleType(int fd) {
|
| }
|
| if (S_ISCHR(buf.st_mode)) return kTerminal;
|
| if (S_ISFIFO(buf.st_mode)) return kPipe;
|
| + if (S_ISSOCK(buf.st_mode)) return kSocket;
|
| if (S_ISREG(buf.st_mode)) return kFile;
|
| return kOther;
|
| }
|
|
|