Searched defs:tmp_backup_path (Results 1 - 1 of 1) sorted by relevance

/dovecot/src/lib-index/
H A Dmail-index-write.c18 const char *backup_path, *tmp_backup_path; local
32 tmp_backup_path = t_strconcat(backup_path, ".tmp", NULL);
33 ret = link(index->filepath, tmp_backup_path);
35 if (unlink(tmp_backup_path) < 0 && errno != ENOENT) {
37 tmp_backup_path);
40 ret = link(index->filepath, tmp_backup_path);
48 index->filepath, tmp_backup_path);
52 if (rename(tmp_backup_path, backup_path) < 0) {
54 tmp_backup_path, backup_path);

Completed in 9 milliseconds