diff options
| author | Wayne Davison <wayned@samba.org> | 2006-02-24 01:56:21 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2006-02-24 01:56:21 +0000 |
| commit | 904e5af12874694c47b7ccf7b8b2e6aa883cab0f (patch) | |
| tree | 9fd5ff55f335bedcc54433ba069d1d324084a6b0 /receiver.c | |
| parent | a41d110647dd006e657ec9a726c69d30e5c4ddcd (diff) | |
| download | android_external_rsync-904e5af12874694c47b7ccf7b8b2e6aa883cab0f.tar.gz android_external_rsync-904e5af12874694c47b7ccf7b8b2e6aa883cab0f.tar.bz2 android_external_rsync-904e5af12874694c47b7ccf7b8b2e6aa883cab0f.zip | |
The create_directory_path() function no longer takes a base_umask
arg.
Diffstat (limited to 'receiver.c')
| -rw-r--r-- | receiver.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -44,7 +44,6 @@ extern int cleanup_got_literal; extern int remove_sent_files; extern int module_id; extern int ignore_errors; -extern int orig_umask; extern int append_mode; extern int sparse_files; extern int keep_partial; @@ -580,7 +579,7 @@ int recv_files(int f_in, struct file_list *flist, char *local_name) * because their information should have been previously * transferred, but that may not be the case with -R */ if (fd2 == -1 && relative_paths && errno == ENOENT - && create_directory_path(fnametmp, orig_umask) == 0) { + && create_directory_path(fnametmp) == 0) { /* Get back to name with XXXXXX in it. */ get_tmpname(fnametmp, fname); fd2 = do_mkstemp(fnametmp, file->mode & INITACCESSPERMS); |
