Roxen.git
/
server
/
base_server
/
fsgc.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/base_server/fsgc.pike:311:
this_program::modid = modid; this_program::max_age = max_age; this_program::max_size = max_size; this_program::max_files = max_files; root = canonic_path(path); ::create(max_age/file_interval_factor, 0, max_age);
-
monitor(root,
3
);
+
// Workaround for too strict type-check in Pike 7.8.
+
int flags = 3;
+
+
monitor(root,
flags
);
} 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,