08e53fcb0d
The inotify_add_watch man page specifies that inotify_add_watch() will
return a non-negative integer. However, historically the inotify
watches started at 1, not at 0.
Turns out that the inotifywait program provided by the inotify-tools
package doesn't properly handle a 0 watch descriptor. In
|
||
---|---|---|
.. | ||
dnotify | ||
inotify | ||
Kconfig | ||
Makefile | ||
fsnotify.c | ||
fsnotify.h | ||
group.c | ||
inode_mark.c | ||
notification.c |