libtickit
libtickit copied to clipboard
Possible typo in the function "tickit_watch_io"
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
https://github.com/leonerd/libtickit/blob/9bc5e306f59143d18ddc8f2601ecb10665a389a3/src/tickit.c#L469