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

/dovecot/src/lib/
H A Dfile-copy.c13 static int file_copy_to_tmp(const char *srcpath, const char *tmppath, argument
25 if (link(srcpath, tmppath) == 0)
30 if (link(srcpath, tmppath) == 0)
36 i_error("link(%s, %s) failed: %m", srcpath, tmppath);
43 fd_in = open(srcpath, O_RDONLY);
47 i_error("open(%s) failed: %m", srcpath);
52 i_error("fstat(%s) failed: %m", srcpath);
81 i_error("read(%s) failed: %s", srcpath,
94 i_error("close(%s) failed: %m", srcpath);
104 int file_copy(const char *srcpath, cons argument
[all...]
/dovecot/src/lib-storage/index/dbox-single/
H A Dsdbox-file.c106 sdbox_file_attachment_relpath(struct sdbox_file *file, const char *srcpath) argument
110 p = strchr(srcpath, '-');
113 "sdbox attachment path in invalid format: %s", srcpath);
118 p == NULL ? srcpath : t_strdup_until(srcpath, p),

Completed in 464 milliseconds