forked from enlightenment/efl
eio: fix kevent monitor to not SIGBUS.
This commit is contained in:
parent
e6a810efa7
commit
a19f730137
1
AUTHORS
1
AUTHORS
|
@ -675,3 +675,4 @@ Vitaliy Venzak <v.venzak@samsung.com>
|
|||
perepelits.m <perepelits.m@samsung.com>
|
||||
rustyBSD <rustyBSD@gmx.fr>
|
||||
Haifeng Deng <haifeng.deng@samsung.com>
|
||||
Al Poole <netstar@gmail.com>
|
||||
|
|
|
@ -155,12 +155,6 @@ void eio_monitor_backend_add(Eio_Monitor *monitor)
|
|||
res = stat(monitor->path, &st);
|
||||
if (res) goto error;
|
||||
|
||||
if (S_ISDIR(st.st_mode)) // let poller handle directories
|
||||
{
|
||||
eio_monitor_fallback_add(monitor);
|
||||
goto error;
|
||||
}
|
||||
|
||||
fd = open(monitor->path, O_RDONLY);
|
||||
if (fd < 0) goto error;
|
||||
|
||||
|
|
Loading…
Reference in New Issue