libtickit icon indicating copy to clipboard operation
libtickit copied to clipboard

Possible typo in the function "tickit_watch_io"

Open brickpool opened this issue 3 months ago • 0 comments

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

brickpool avatar Sep 24 '25 12:09 brickpool