]> git.eshelyaron.com Git - emacs.git/commit
Depromiscuify inotify with IN_MASK_ADD
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 May 2017 17:54:25 +0000 (10:54 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 May 2017 18:14:30 +0000 (11:14 -0700)
commitd387305062d9dab78b9c3cdc96090496eaf5a1c3
tree5758743a5775d703850dcdd4dcec66f0e946abc8
parentad656a726fc2683b0ca5683fcaaf6852f2c876b2
Depromiscuify inotify with IN_MASK_ADD

Use IN_MASK_ADD instead of using a no-longer-promiscuous-enough
mask.  This simplifies the code and restores the ability to
use IN_ACCESS, IN_CLOSE_WRITE, IN_CLOSE_NOWRITE, and IN_OPEN
in some cases (Bug#26973).
* src/inotify.c (INOTIFY_DEFAULT_MASK): Remove.
(Finotify_add_watch): Use IN_MASK_ADD instead.
src/inotify.c