summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-01-04 06:58:34 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-01-04 06:58:34 +0000
commitcde9f435f7a8605a8dc49c0d325631f12810e508 (patch)
treebf623f8c7b9af2c4606e61af7e6d002ea832bf7f /legacy
parente8056f8f83980e41566332fe607f5586aa84641a (diff)
some updates to ecore_fd_valid: add dummy closes to track with strace (sup k-s) and switch sleep() to pause()
SVN revision: 55838
Diffstat (limited to 'legacy')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore_main.c b/legacy/ecore/src/lib/ecore/ecore_main.c
index 5fa9b2f0f2..67dd7b6620 100644
--- a/legacy/ecore/src/lib/ecore/ecore_main.c
+++ b/legacy/ecore/src/lib/ecore/ecore_main.c
@@ -161,8 +161,11 @@ _ecore_fd_valid(void)
161 if (fcntl(epoll_fd, F_GETFD) < 0) 161 if (fcntl(epoll_fd, F_GETFD) < 0)
162 { 162 {
163 ERR("arghhh you caught me! report a backtrace to edevel!"); 163 ERR("arghhh you caught me! report a backtrace to edevel!");
164 sleep(5); 164 close(-111);
165 pause();
165 } 166 }
167 else
168 close(-999);
166#endif 169#endif
167} 170}
168 171