| Index: runtime/bin/eventhandler_macos.cc
|
| diff --git a/runtime/bin/eventhandler_macos.cc b/runtime/bin/eventhandler_macos.cc
|
| index b2c2c9b039c6167f7cb6668a5993453958a2e04a..23a65db964506bfb6c0bba21f9042c70afb76dbd 100644
|
| --- a/runtime/bin/eventhandler_macos.cc
|
| +++ b/runtime/bin/eventhandler_macos.cc
|
| @@ -200,10 +200,8 @@ static void PrintEventMask(struct pollfd* pollfd) {
|
| if ((pollfd->revents & POLLOUT) != 0) printf("POLLOUT ");
|
| if ((pollfd->revents & POLLERR) != 0) printf("POLLERR ");
|
| if ((pollfd->revents & POLLHUP) != 0) printf("POLLHUP ");
|
| - if ((pollfd->revents & POLLRDHUP) != 0) printf("POLLRDHUP ");
|
| if ((pollfd->revents & POLLNVAL) != 0) printf("POLLNVAL ");
|
| - int all_events = POLLIN | POLLPRI | POLLOUT |
|
| - POLLERR | POLLHUP | POLLRDHUP | POLLNVAL;
|
| + int all_events = POLLIN | POLLPRI | POLLOUT | POLLERR | POLLHUP | POLLNVAL;
|
| if ((pollfd->revents & ~all_events) != 0) {
|
| printf("(and %08x) ", pollfd->revents & ~all_events);
|
| }
|
|
|