Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-06-18 11:57:39 +0400
committerFelix Fietkau <nbd@openwrt.org>2013-06-18 13:02:20 +0400
commitcd5238b5003ab8b4bbceedbf89f59542f2629b45 (patch)
treea652a097556018eba50e7282998c86a470d611a0 /uloop.c
parentae40b6613019f02e856b4b1ccc2712984506152e (diff)
uloop: fix edge trigger handling on mac os x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uloop.c')
-rw-r--r--uloop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/uloop.c b/uloop.c
index db8cacd..3746520 100644
--- a/uloop.c
+++ b/uloop.c
@@ -181,6 +181,7 @@ static int uloop_fetch_events(int timeout)
if (u->flags & ULOOP_EDGE_DEFER) {
u->flags &= ~ULOOP_EDGE_DEFER;
+ u->flags |= ULOOP_EDGE_TRIGGER;
register_kevent(u, u->flags);
}
}