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

/dovecot/src/doveadm/
H A Ddoveadm-sis.c32 file_contents_equal(const char *path1, const char *path2, ino_t *path2_inode_r) argument
47 fd2 = open(path2, O_RDONLY);
50 i_error("open(%s) failed: %m", path2);
70 i_error("read(%s) failed: %m", path2);
90 i_error("close(%s) failed: %m", path2);
H A Ddoveadm-dsync.c338 const char *path1, *path2; local
344 mailbox_list_get_root_path(user2->namespaces->list, type, &path2) &&
345 strcmp(path1, path2) == 0;
/dovecot/src/lib-storage/index/maildir/
H A Dmaildir-storage.c625 const char *path, *path2; local
639 &path2) ||
640 strcmp(path, path2) == 0) {
H A Dmaildir-sync.c293 const char *fname1, *path1, *path2; local
303 path2 = t_strconcat(dir, "/", fname2, NULL);
305 if (stat(path1, &st1) < 0 || stat(path2, &st2) < 0) {
327 if (i_unlink(path2) == 0)
328 i_warning("Unlinked a duplicate: %s", path2);
347 if (rename(path2, new_path) == 0)
348 i_warning("Fixed a duplicate: %s -> %s", path2, new_fname);
352 path2, new_path);
/dovecot/src/lib-index/
H A Dmail-transaction-log-file.c686 const char *path2; local
808 path2 = t_strconcat(file->filepath, ".2", NULL);
809 if (i_unlink_if_exists(path2) < 0) {
812 if (nfs_safe_link(file->filepath, path2, FALSE) < 0 &&
815 file->filepath, path2);
/dovecot/src/lib-storage/index/
H A Dindex-storage.c182 const char *path, *path2, *index_path; local
227 if (mailbox_get_path_to(box, MAILBOX_LIST_PATH_TYPE_DIR, &path2) <= 0 ||
228 (strcmp(path, path2) != 0 && stat(path2, &st) == 0)) {
/dovecot/src/plugins/quota/
H A Dquota.c542 const char *path, *path2; local
559 MAILBOX_LIST_PATH_TYPE_MAILBOX, &path2) &&
560 strcmp(path, path2) == 0) {

Completed in 35 milliseconds