pike.git / lib / modules / Search.pmod / TmpFile.pmod

version» Context lines:

pike.git/lib/modules/Search.pmod/TmpFile.pmod: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.