• Paul Eggert's avatar
    Depromiscuify inotify with IN_MASK_ADD · d3873050
    Paul Eggert authored
    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.
    d3873050
inotify.c 16 KB