Branch: Tag:

2021-02-03

2021-02-03 15:34:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Inotify: add_watch() now returns -1 on some failures.

This is to simplify differentiation between failures due to
the filesystem being in flux (eg races), and failures due to
resource limits.

Fixes race condition (time of check, time of use) in
Filesystem.Monitor.basic.InotifyMonitor()->register_path().

Fixes #10059.

1:   PikeDoc.VERSION = 'Pike v8.1.9'; - PikeDoc.PUBDATE = '2017-06-13'; - PikeDoc.GENERATED = 1512106367; + PikeDoc.PUBDATE = '2021-02-03'; + PikeDoc.GENERATED = 1626875214;