Branch: Tag:

2013-07-05

2013-07-05 17:07:13 by 0

Fix logic error in stable state for directories. This bug caused unmodified
directories to be listed over and over again.

725:    last_change = 0x7fffffff;    stable_data_change(path, st);    return 1; -  } else if (st->isdir && status_change(old_st, st, orig_flags, flags)) { +  } else if (last_change != 0x7fffffff && +  st->isdir && status_change(old_st, st, orig_flags, flags)) {    // Directory not stable yet.    last_change = time(1);    return 1;