3384f52001-08-09Fredrik Noring private string tmp_unique = sprintf("%d.%d", time(), getpid()); private int tmp_sequence = 0; // This variable must be process global.
5877112001-08-09Fredrik Noring constant contenttypes = ({ });
3384f52001-08-09Fredrik Noring  string tmp_filename() {
4e98512001-08-09Martin Nilsson  return sprintf("../var/search/search.tmp.%s.%d", tmp_unique, tmp_sequence++);
3384f52001-08-09Fredrik Noring }