Branch: Tag:

2001-08-09

2001-08-09 14:09:25 by Fredrik Noring <noring@nocrew.org>

Moved Search.Filter.TmpFile to Search.TmpFile.

Rev: lib/modules/Search.pmod/Filter.pmod/Base.pike:1.13
Rev: lib/modules/Search.pmod/Filter.pmod/TmpFile.pmod:1.2(DEAD)
Rev: lib/modules/Search.pmod/TmpFile.pmod:1.1

1: + private string tmp_unique = sprintf("%d.%d", time(), getpid()); + private int tmp_sequence = 0; // This variable must be process global. + constant contenttypes = ({ });    -  + string tmp_filename() + { +  return sprintf("../var/tmp/search.tmp.%s.%d", tmp_unique, tmp_sequence++); + }   Newline at end of file added.