| Index: native_client_sdk/src/libraries/nacl_io/event_listener.cc
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/event_listener.cc b/native_client_sdk/src/libraries/nacl_io/event_listener.cc
|
| index d8b293da4796ccd670627ae59e5d39f0d9faa679..de1b55710a21abdafba46188d9ab9718fa6a8715 100644
|
| --- a/native_client_sdk/src/libraries/nacl_io/event_listener.cc
|
| +++ b/native_client_sdk/src/libraries/nacl_io/event_listener.cc
|
| @@ -182,7 +182,7 @@ Error EventListener::Track(int id,
|
| EventInfoMap_t::iterator it = event_info_map_.find(id);
|
|
|
| // If it's not a streaming type, then it can not be added.
|
| - if ((emitter->GetType() & (S_IFIFO | S_IFSOCK)) == 0)
|
| + if ((emitter->GetType() & (S_IFIFO | S_IFSOCK | S_IFCHR)) == 0)
|
| return EPERM;
|
|
|
| if (it != event_info_map_.end())
|
|
|