https://bugs.winehq.org/show_bug.cgi?id=12854
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com
--- Comment #14 from Damjan Jovanovic damjan.jov@gmail.com --- I did send several patches for this bug, which implement change notifications through libinotify-kqueue. The hard part was translating fds to paths when a change is detected:
https://source.winehq.org/patches/data/218445 Racy, path can change outside Wine.
https://www.winehq.org/pipermail/wine-devel/2021-December/202494.html No feedback.
Even with those patches, some change.ok tests still fail, because the way libinotify-kqueue is implemented, it takes some time for a notification to come through, whereas on Linux inotify notifications are synchronous, appearing before return from the system call affecting the file. I don't know how much this is a problem in practice. I reported it upstream: https://github.com/libinotify-kqueue/libinotify-kqueue/issues/15