mirror of
https://github.com/troglobit/libuev.git
synced 2026-10-01 13:32:26 +07:00
Fix data ordering bug causing problems on Debian Jessie
Got very odd results on Debian Jessie when having the uev_private_t last in uev_t. Turns out that when uev.c set "w->active = 0;" the w->fd data member was written to instead. Placing the private data first in uev_t is better practise, generally a good thing for linked lists built on the BSD sys/queue.h API, looks a lot better, but foremost works. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Reference in New Issue
Block a user