summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2014-05-05 16:30:03 +0000
committerneel <neel@FreeBSD.org>2014-05-05 16:30:03 +0000
commit08f11e3e21eb911b00bda0ec0ebaf259fdca2fde (patch)
treef2b6904ed620d2df621a56f3d58e2f383bc9cd66 /lib/libc/regex
parent5fd692c3b580554aa0926a4aa512022b56575d31 (diff)
downloadFreeBSD-src-08f11e3e21eb911b00bda0ec0ebaf259fdca2fde.zip
FreeBSD-src-08f11e3e21eb911b00bda0ec0ebaf259fdca2fde.tar.gz
Re-adding an event to a kqueue modifies the parameters of the original event.
However, if the original knote had been disabled then it is not automatically re-enabled. Fix this by using EV_ADD to create an mevent and EV_ENABLE to enable it. Adding a kevent for the first time implicitly enables it so existing callers of mevent_add() don't need to change. Reviewed by: grehan
Diffstat (limited to 'lib/libc/regex')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud