Searched refs:rename (Results 1 - 25 of 37) sorted by relevance

12

/dovecot/src/plugins/push-notification/
H A Dpush-notification-event-mailboxrename.c50 .rename = push_notification_event_mailboxrename_event
H A Dpush-notification-events.h39 /* Mailbox event: rename mailbox. */
40 void (*rename)(struct push_notification_txn *ptxn, member in struct:push_notification_event_vfuncs_mbox_triggers
H A Dpush-notification-triggers.c79 if ((*ec)->event->mbox_triggers.rename != NULL) {
80 (*ec)->event->mbox_triggers.rename(txn, *ec, mbox, src);
/dovecot/src/lib-index/
H A Dmail-index-write.c52 if (rename(tmp_backup_path, backup_path) < 0) {
53 mail_index_set_error(index, "rename(%s, %s) failed: %m",
108 if (ret == 0 && rename(path, index->filepath) < 0) {
109 mail_index_set_error(index, "rename(%s, %s) failed: %m",
H A Dmailbox-log.c134 if (rename(log->filepath, log->filepath2) < 0 && errno != ENOENT) {
135 i_error("rename(%s, %s) failed: %m",
H A Dmail-cache-compress.c349 if (rename(temp_path, cache->filepath) < 0) {
350 mail_cache_set_syscall_error(cache, "rename()");
/dovecot/src/lib/
H A Dfile-copy.c115 if (rename(tmppath, destpath) < 0) {
116 i_error("rename(%s, %s) failed: %m",
/dovecot/src/lib-storage/list/
H A Dmailbox-list-index-notify.c442 struct mailbox_list_notify_rename *rename; local
485 rename = array_append_space(&inotify->renames);
486 rename->old_uid = e[i-1].uid;
487 rename->new_uid = e[i].uid;
490 rename->old_uid);
492 rename->new_uid);
656 const struct mailbox_list_notify_rename *rename; local
661 rename = array_idx(&inotify->renames, idx);
665 rename->old_uid, 0, &status, &rec))
671 rename
[all...]
H A Dmailbox-list-maildir.c301 if (rename(oldpath, newpath) < 0 && errno != ENOENT) {
302 mailbox_list_set_critical(oldlist, "rename(%s, %s) failed: %m",
366 We don't want to rename it anymore to "a.b.b". */
388 if (rename(oldpath, newpath) == 0 || EDESTDIREXISTS(errno))
392 "rename(%s, %s) failed: %m", oldpath, newpath);
418 /* NOTE: it's possible to rename a nonexistent mailbox which has
419 children. In that case we should ignore the rename() error. */
455 ret = rename(oldpath, newpath);
484 mailbox_list_set_critical(oldlist, "rename(%s, %s) failed: %m",
H A Dmailbox-list-fs.c393 if (rename(oldpath, newpath) < 0 && errno != ENOENT) {
394 mailbox_list_set_critical(oldlist, "rename(%s, %s) failed: %m",
479 possibility that someone actually tries to rename two mailboxes
509 if (rename(oldpath, newpath) < 0) {
515 "rename(%s, %s) failed: %m", oldpath, newpath);
H A Dmailbox-list-delete.c60 /* rename the mailbox dir to trash dir, which atomically
63 for (; rename(src, trash_dest) < 0; count++) {
83 "rename(%s, %s) failed: %m", src, trash_dest);
95 Because of c) we'll first try to rename the mailbox under
H A Dmailbox-list-maildir-iter.c295 /* the storage_name is completely invalid, rename it to
310 if (rename(src, str_c(dest)) < 0 && errno != ENOENT)
311 i_error("rename(%s, %s) failed: %m", src, str_c(dest));
/dovecot/src/auth/
H A Dauth-token.c130 if (rename(temp_path, path) < 0) {
131 i_error("rename(%s, %s) failed: %m", temp_path, path);
/dovecot/src/lib-storage/index/dbox-single/
H A Dsdbox-file.c172 if (rename(old_path, new_path) < 0) {
174 "rename(%s, %s) failed: %m",
363 /* the temp file was successfully written. rename it now to the
366 if (rename(temp_path, dest_path) < 0) {
368 "rename(%s, %s) failed: %m", temp_path, dest_path);
/dovecot/src/lib-storage/index/maildir/
H A Dmaildir-util.c309 if (rename(path, dest) == 0) {
320 "but rename(%s, %s) failed: %m", path, dest);
H A Dmaildir-sync.c86 If rename() still fails because of ENOSPC or EDQUOT, we still save
89 apply the flag changes to the filename, rename it and remove the
99 whole uidlist into it and rename()ing it over the old uidlist. This
103 one's. Use utime() before rename() if needed. Note that inode checking
144 link() + unlink() rather than rename(). This however isn't very
168 create a completely new base name for it and rename() it to that.
194 /* When rename()ing many files from new/ to cur/, it's possible that next
202 /* This is mostly to avoid infinite looping when rename() destination already
321 rename()ing one file on top of the other would fix
322 this safely, except POSIX decided that rename()
[all...]
/dovecot/src/lib-storage/
H A Dmailbox-uidvalidity.c98 if ((ret = rename(str_c(src), str_c(dest))) == 0 ||
105 i_error("rename(%s, %s) failed: %m", str_c(src), str_c(dest));
/dovecot/src/doveadm/
H A Ddoveadm-sis.c124 if (rename(tmppath, dest) < 0) {
125 i_error("rename(%s, %s) failed: %m", src, tmppath);
/dovecot/src/lib-fs/
H A Dfs-api-private.h63 int (*rename)(struct fs_file *src, struct fs_file *dest); member in struct:fs_vfuncs
H A Dfs-posix.c505 if (rename(file->temp_path, file->full_path) < 0) {
506 fs_set_error(file->file.fs, "rename(%s, %s) failed: %m",
748 ret = rename(src->full_path, dest->full_path);
753 ret = rename(src->full_path, dest->full_path);
757 fs_set_error(_src->fs, "rename(%s, %s) failed: %m",
/dovecot/src/lib-storage/index/cydir/
H A Dcydir-save.c266 if (rename(str_c(src_path), str_c(dest_path)) < 0) {
268 "rename(%s, %s) failed: %m",
/dovecot/src/lib-storage/index/dbox-multi/
H A Dmdbox-file.c208 if (rename(old_path, new_path) < 0) {
210 "rename(%s, %s) failed: %m",
/dovecot/src/plugins/acl/
H A Dacl-backend-vfile-acllist.c243 /* Build it into a temporary file and rename() over. There's no need
307 if (rename(str_c(path), acllist_path) < 0) {
308 i_error("rename(%s, %s) failed: %m",
/dovecot/src/lib-storage/index/dbox-common/
H A Ddbox-file-fix.c503 if (rename(temp_path, file->cur_path) < 0) {
505 "rename(%s, %s) failed: %m",
/dovecot/src/lib-dict/
H A Ddict-file.c610 if (rename(temp_path, dict->path) < 0) {
611 *error_r = t_strdup_printf("rename(%s, %s) failed: %m",

Completed in 74 milliseconds

12