The AND operation of the flags is performed using an unusual construct (TICKIT_BIND_UNBIND|TICKIT_BIND_UNBIND).
To me, this looks like a typo in the function tickit_watch_io. This should probably be watch->flags = flags & (TICKIT_BIND_UNBIND|TICKIT_BIND_DESTROY), see
|
watch->flags = flags & (TICKIT_BIND_UNBIND|TICKIT_BIND_UNBIND); |
The AND operation of the flags is performed using an unusual construct
(TICKIT_BIND_UNBIND|TICKIT_BIND_UNBIND).To me, this looks like a typo in the function
tickit_watch_io. This should probably bewatch->flags = flags & (TICKIT_BIND_UNBIND|TICKIT_BIND_DESTROY), seelibtickit/src/tickit.c
Line 469 in 9bc5e30