Lines Matching refs:temp

253 					if (pathpath(fp->encode.file, "", PATH_EXECUTE|PATH_READ|PATH_WRITE, fp->encode.temp, sizeof(fp->encode.temp)) &&
254 !stat(fp->encode.temp, &st) && st.st_uid == uid && (st.st_mode & S_IWUSR))
256 sfsprintf(fp->encode.file, sizeof(fp->encode.file), "%s%s", fp->encode.temp, b);
271 * FF_old generates temp data that is read
286 * the rest generate into a temp file that
297 if (!pathtemp(fp->encode.temp, sizeof(fp->encode.temp), p, "ff", &fd))
308 (*fp->disc->errorf)(fp, fp->disc, ERROR_SYSTEM|2, "%s: cannot open tmp file", fp->encode.temp);
413 b = (s = fp->decode.temp) + 1;
507 b = fp->decode.temp;
520 sfsprintf(b, sizeof(fp->decode.temp) - 1, "%s", s);
524 sfsprintf(b, sizeof(fp->decode.temp) - 1, "%s/%s", p, s);
525 s = pathcanon(b, sizeof(fp->decode.temp), 0);
534 s = pathcanon(b, sizeof(fp->decode.temp), PATH_PHYSICAL);
629 regerror(i, &fp->decode.re, fp->decode.temp, sizeof(fp->decode.temp));
630 (*fp->disc->errorf)(fp, fp->disc, 2, "%s: %s", pattern, fp->decode.temp);
912 regerror(n, &fp->decode.re, fp->decode.temp, sizeof(fp->decode.temp));
913 (*fp->disc->errorf)(fp, fp->disc, 2, "%s: %s", fp->decode.pattern, fp->decode.temp);
1082 * replace the real file with the temp file
1088 if (rename(fp->encode.temp, fp->encode.file))
1091 (*fp->disc->errorf)(fp, fp->disc, ERROR_SYSTEM|2, "%s: cannot rename from tmp file %s", fp->encode.file, fp->encode.temp);
1092 remove(fp->encode.temp);
1191 if (!(fp->fp = sfopen(NiL, fp->encode.temp, "r")))
1194 (*fp->disc->errorf)(fp, fp->disc, ERROR_SYSTEM|2, "%s: cannot read tmp file", fp->encode.temp);
1195 remove(fp->encode.temp);
1236 remove(fp->encode.temp);
1249 remove(fp->encode.temp);