Restore inotify onlydir support
commitad656a726fc2683b0ca5683fcaaf6852f2c876b2
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 May 2017 17:54:25 +0000 (27 10:54 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 May 2017 18:14:30 +0000 (27 11:14 -0700)
tree25175b9eb2caa5a5242a119923e3dc79b99faad3
parent8f59ff2461b54e29c9389cee5851f348b867a281
Restore inotify onlydir support

There was no need to remove it in the 2017-03-26 inotify change,
as it is like IN_DONT_FOLLOW and does not affect other watchers
for the same file.
* src/inotify.c (symbol_to_inotifymask, Finotify_add_watch)
(syms_of_inotify): Bring back onlydir.
src/inotify.c