summaryrefslogtreecommitdiff
path: root/src/lib/eio
diff options
context:
space:
mode:
authorAl Poole <netstar@gmail.com>2016-09-07 16:41:59 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-09-07 16:41:59 -0700
commita19f7301377fbcf4fd1301913edf531af5b3f586 (patch)
tree266a91e5b451171ad8e41c9fe33ebefb1ec9d754 /src/lib/eio
parente6a810efa75ac4e6941964a8737beb03f83bb2fa (diff)
eio: fix kevent monitor to not SIGBUS.
Diffstat (limited to 'src/lib/eio')
-rw-r--r--src/lib/eio/eio_monitor_kevent.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/eio/eio_monitor_kevent.c b/src/lib/eio/eio_monitor_kevent.c
index 78be0ee633..d8bf93dc6e 100644
--- a/src/lib/eio/eio_monitor_kevent.c
+++ b/src/lib/eio/eio_monitor_kevent.c
@@ -155,12 +155,6 @@ void eio_monitor_backend_add(Eio_Monitor *monitor)
155 res = stat(monitor->path, &st); 155 res = stat(monitor->path, &st);
156 if (res) goto error; 156 if (res) goto error;
157 157
158 if (S_ISDIR(st.st_mode)) // let poller handle directories
159 {
160 eio_monitor_fallback_add(monitor);
161 goto error;
162 }
163
164 fd = open(monitor->path, O_RDONLY); 158 fd = open(monitor->path, O_RDONLY);
165 if (fd < 0) goto error; 159 if (fd < 0) goto error;
166 160