Branch: Tag:

2016-03-17

2016-03-17 21:05:40 by 0

Need to register EventStream-accelerated monitors in register_path() before
calling check() since that may trigger callbacks to code which expects to find
all monitors there. (Same thing was already done in the Inotify class.)

856: Inside #if HAVE_EVENTSTREAM
   if((path == p) || has_prefix(path, p + "/")) {    MON_WERR("Path %O already monitored via path %O.\n", path, p);    found = p; +  break;    }    }    if (found) {    MON_WERR("Path %O is accellerated via %O.\n", path, found);    accellerated = 1; -  +  monitors[path] = this;    check();    return;    }
876: Inside #if HAVE_EVENTSTREAM
   };       if (!err) { +  monitors[path] = this;    check();    return;    }