]> git.eshelyaron.com Git - emacs.git/commit
Guarantee delivery of inotify special events
authorPo Lu <luangruo@yahoo.com>
Wed, 26 Feb 2025 01:56:46 +0000 (09:56 +0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 26 Feb 2025 09:41:33 +0000 (10:41 +0100)
commitc5f5edae52d33abe89c39c39a230cf9d2529623f
tree06be16080478356b5d6c776aa375d4d4c2e891b1
parentb1f6adb0ddd4126f463801b683eb6d842dd993b8
Guarantee delivery of inotify special events

* src/inotify.c (inotifyevent_to_event): Always match events
that are not encompassed by IN_ALL_EVENTS and which the
documentation implies are always delivered to callbacks.

* test/src/inotify-tests.el (inotify-file-watch-stop-delivery):
New test.

(cherry picked from commit 928dc34e05fc04a9b8394df477beca2ef6d9fd1b)
src/inotify.c
test/src/inotify-tests.el