Searched refs:old_path (Results 1 - 7 of 7) sorted by relevance
/dovecot/src/plugins/mailbox-alias/ |
H A D | mailbox-alias-plugin.c | 133 const char *old_path, *new_path, *fname; local 137 MAILBOX_LIST_PATH_TYPE_DIR, &old_path); 150 fname = strrchr(old_path, '/'); 153 i_assert(strncmp(new_path, old_path, fname-old_path) == 0);
|
/dovecot/src/lib-storage/index/dbox-single/ |
H A D | sdbox-file.c | 152 const char *p, *old_path, *dir, *new_fname, *new_path; local 158 old_path = file->file.cur_path; 159 p = strrchr(old_path, '/'); 161 dir = t_strdup_until(old_path, p); 172 if (rename(old_path, new_path) < 0) { 175 old_path, new_path);
|
/dovecot/src/lib-storage/index/dbox-multi/ |
H A D | mdbox-file.c | 190 const char *old_path; local 196 old_path = file->file.cur_path; 208 if (rename(old_path, new_path) < 0) { 211 old_path, new_path);
|
H A D | mdbox-storage-rebuild.c | 242 const char *old_path, *new_path, *fname = *fname_p; local 244 old_path = t_strconcat(dir, "/", fname, NULL); 250 if (link(old_path, new_path) == 0) { 251 i_unlink(old_path); 258 i_error("link(%s, %s) failed: %m", old_path, new_path);
|
/dovecot/src/lib-storage/list/ |
H A D | mailbox-list-index-notify.c | 502 const char *old_path = NULL, *new_path = NULL; local 518 if (old_path == NULL) { 519 if (mailbox_tree_iterate_next(old_iter, &old_path) == NULL) 520 old_path = NULL; 527 if (old_path == NULL) { 534 ret = strcmp(old_path, new_path); 538 old_path = NULL; 545 old_path = p_strdup(pool, old_path); 546 array_append(&inotify->new_unsubscriptions, &old_path, [all...] |
H A D | mailbox-list-index-backend.c | 431 const char *root_dir, *old_path, *new_path; local 435 &old_path) <= 0) 436 old_path = NULL; 442 if (!guid_128_is_empty(update->mailbox_guid) && old_path != NULL && 448 if (strcmp(old_path, new_path) == 0) 450 else if (rename(old_path, new_path) == 0) 458 old_path, new_path);
|
/dovecot/src/lib-storage/index/maildir/ |
H A D | maildir-sync.c | 362 const char *old_path, *new_fname, *new_path; local 364 old_path = t_strconcat(dir, "/", fname, NULL); 368 if (rename(old_path, new_path) == 0) 369 i_warning("Fixed broken filename: %s -> %s", old_path, new_fname); 373 old_path, new_path);
|
Completed in 69 milliseconds