Searched defs:dest_path (Results 1 - 6 of 6) sorted by relevance
/dovecot/src/lib-storage/index/dbox-single/ |
H A D | sdbox-copy.c | 99 const char *src_path, *dest_path; local 115 dest_path = dest_file->primary_path; 116 ret = nfs_safe_link(src_path, dest_path, FALSE); 120 dest_path = dest_file->cur_path = dest_file->alt_path; 123 ret = nfs_safe_link(src_path, dest_path, FALSE); 135 src_path, dest_path);
|
H A D | sdbox-file.c | 294 const char *dest_dir, *temp_path, *dest_path, *p; local 312 dest_path = !alt_path ? file->primary_path : file->alt_path; 314 i_assert(dest_path != NULL); 316 p = strrchr(dest_path, '/'); 318 dest_dir = t_strdup_until(dest_path, p); 366 if (rename(temp_path, dest_path) < 0) { 368 "rename(%s, %s) failed: %m", temp_path, dest_path); 376 i_unlink(dest_path); 384 i_unlink(dest_path); 395 "dbox_file_move(%s): reopening file failed", dest_path); [all...] |
/dovecot/src/lib-storage/index/maildir/ |
H A D | maildir-copy.c | 19 const char *dest_path; member in struct:hardlink_ctx 29 ret = nfs_safe_link(path, ctx->dest_path, FALSE); 31 ret = link(path, ctx->dest_path); 49 path, ctx->dest_path); 82 do_ctx.dest_path =
|
/dovecot/src/lib-storage/index/cydir/ |
H A D | cydir-save.c | 231 string_t *src_path, *dest_path; local 254 dest_path = t_str_new(256); 255 str_append(dest_path, dir); 256 str_append_c(dest_path, '/'); 257 dest_prefixlen = str_len(dest_path); 262 str_truncate(dest_path, dest_prefixlen); 264 str_printfa(dest_path, "%u.", uid); 266 if (rename(str_c(src_path), str_c(dest_path)) < 0) { 269 str_c(src_path), str_c(dest_path));
|
/dovecot/src/doveadm/ |
H A D | doveadm-fs.c | 106 const char *src_path, *dest_path; local 128 dest_path = argv[1]; 130 file = fs_file_init(fs, dest_path, FS_OPEN_MODE_REPLACE); 163 const char *src_path, *dest_path; local 168 dest_path = argv[1]; 171 dest_file = fs_file_init(fs, dest_path, FS_OPEN_MODE_REPLACE); 179 src_path, dest_path, fs_last_error(fs));
|
/dovecot/src/lib-dict/ |
H A D | dict-file.c | 370 int dest_fd, const char *dest_path) 375 i_error("fstat(%s) failed: %m", dest_path); 385 dest_path, dec2str(src_st->st_gid)); 393 dest_path, (int)(src_st->st_mode & 0777)); 401 int dest_fd, const char *dest_path) 409 return fd_copy_stat_permissions(&src_st, dest_fd, dest_path); 414 const char *dest_path) 429 return fd_copy_stat_permissions(&src_st, dest_fd, dest_path); 369 fd_copy_stat_permissions(const struct stat *src_st, int dest_fd, const char *dest_path) argument 400 fd_copy_permissions(int src_fd, const char *src_path, int dest_fd, const char *dest_path) argument 413 fd_copy_parent_dir_permissions(const char *src_path, int dest_fd, const char *dest_path) argument
|
Completed in 14 milliseconds