pike.git / lib / modules / Filesystem.pmod / Monitor.pmod / basic.pike

version» Context lines:

pike.git/lib/modules/Filesystem.pmod/Monitor.pmod/basic.pike:623:    if (monitors[file]) {    // Adjust next_poll, so that the monitor will be checked soon.    monitors[file]->next_poll = time(1)-1;    adjust_monitor(monitors[file]);    delay = 1;    }    }    }    if (delay) {    // Delay the notification until the submonitors have notified. -  st = old_st; +  this::st = old_st;    next_poll = time(1);    adjust_monitor(this);    } else {    if (st) {    // Avoid race when a file has been replaced with a directory    // or vice versa or similar.    st = UNDEFINED;       // We will catch the new file at the next poll.    next_poll = time(1);