mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
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 | ||
fsnotify.c | ||
fsnotify.h | ||
group.c | ||
inode_mark.c | ||
Kconfig | ||
Makefile | ||
notification.c |