Lines Matching defs:temp_path
63 const char *path, *lock_path, *temp_path;
326 if (lock_info->temp_path == NULL) {
368 lock_info->temp_path = str_c(tmp_path);
370 i_error("fstat(%s) failed: %m", lock_info->temp_path);
375 if (utime(lock_info->temp_path, NULL) < 0)
376 i_error("utime(%s) failed: %m", lock_info->temp_path);
379 if (nfs_safe_link(lock_info->temp_path,
386 lock_info->temp_path, lock_info->lock_path);
391 if (i_unlink(lock_info->temp_path) < 0) {
394 lock_info->temp_path = NULL;
598 if (lock_info.temp_path != NULL)
599 i_unlink(lock_info.temp_path);