]> git.eshelyaron.com Git - emacs.git/commit
Enable inotify on systems with inotify_init yet no init1 variant
authorPo Lu <luangruo@yahoo.com>
Thu, 22 Feb 2024 01:53:48 +0000 (09:53 +0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 28 Feb 2024 17:39:39 +0000 (18:39 +0100)
commit5a822ca3002e581544a1e59ce6b55246d6cbd790
tree08aab1fa036935f726acd2ea0abd3d4a79cb247c
parentb04896fe809d5715c97bb79894cee7aedb11e731
Enable inotify on systems with inotify_init yet no init1 variant

* configure.ac (HAVE_INOTIFY): Check for the presence of
inotify_init in addition to inotify_init1.

* src/inotify.c (Finotify_add_watch): Implement with
inotify_init if inotify_init1 is absent.

(cherry picked from commit 39a84232700c40fa74305970dd16cd5cb8b8bea0)
configure.ac
src/inotify.c