Roxen.git / server / base_server / fsgc.pike

version» Context lines:

Roxen.git/server/base_server/fsgc.pike:421:    void reconfigure(int max_age, int|void max_size, int|void max_files)    {    FSGarb g = fsgarbs[id];    if (g) g->reconfigure(max_age, max_size, max_files);    }   }      FSGarbWrapper register_fsgarb(string modid, string path, int max_age,    int|void max_size, int|void max_files)   { +  if ((path == "") || (path == "/") || (max_age <= 0)) return 0;    string id = modid + "\0" + path + "\0" + gethrtime();    FSGarb g = FSGarb(modid, path, max_age, max_size, max_files);    fsgarbs[id] = g;    GC_WERR("FSGC: Register garb on %O ==> id: %O\n", path, id);    return FSGarbWrapper(id);   }      void name_thread(object thread, string name);      protected void start_fsgarb()