Lines Matching defs:temp_path
244 string_t *str, *temp_path;
268 temp_path = t_str_new(128);
269 str_append(temp_path, path);
270 fd = safe_mkstemp_hostpid_group(temp_path, perm.file_create_mode,
284 fd = safe_mkstemp_hostpid_group(temp_path,
307 i_error("write_full(%s) failed: %m", str_c(temp_path));
309 i_unlink(str_c(temp_path));
314 if (rename(str_c(temp_path), path) < 0) {
315 i_error("rename(%s, %s) failed: %m", str_c(temp_path), path);
316 i_unlink_if_exists(str_c(temp_path));