Branch: Tag:

2013-07-12

2013-07-12 15:56:16 by 0

Always recompute next_poll after updating last_change.

722:    }    }    } +  update(st);    return 1;    } else {    return 0;
733:    /* (st->ctime != old_st->ctime) || */    (st->size != old_st->size)) {    last_change = time(1); +  update(st);    if (status_change(old_st, st, orig_flags, flags)) return 1;    } else if (last_change < time(1) - (stable_time || global::stable_time)) {    last_change = 0x7fffffff;
742:    st->isdir && status_change(old_st, st, orig_flags, flags)) {    // Directory not stable yet.    last_change = time(1); +  update(st);    return 1;    }    return 0;