X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/5886edfac2472187a99148df72d413539d353edc..4ce838e1f107239f1b18f3f8cd7c7fbab65e0bd5:/util.c diff --git a/util.c b/util.c index b78dba84..4f1b59ac 100644 --- a/util.c +++ b/util.c @@ -197,7 +197,7 @@ int create_directory_path(char *fname, int base_umask) * * Derived from GNU C's cccp.c. */ -static int full_write(int desc, char *ptr, size_t len) +int full_write(int desc, char *ptr, size_t len) { int total_written; @@ -245,7 +245,7 @@ static int safe_read(int desc, char *ptr, size_t len) /** Copy a file. * - * This is used in conjunction with the --temp-dir option */ + * This is used in conjunction with the --temp-dir and --backup options */ int copy_file(char *source, char *dest, mode_t mode) { int ifd;