Roxen.git / server / base_server / fsgc.pike

version» Context lines:

Roxen.git/server/base_server/fsgc.pike:314:    ::create(max_age/file_interval_factor, 0, max_age);       root = path;       monitor(path, 3);    }       void stable_data_change(string path, Stdio.Stat st)    {    GC_WERR("FSGC: Deleting stale file: %O\n", path); +  if (path == root) return;    rm(path);    }       void reconfigure(int new_max_age, int|void new_max_size,    int|void new_max_files)    {    if (!zero_type(new_max_size)) {    GC_WERR("FSGC: New max size: %d\n", new_max_size);    max_size = new_max_size;    }