Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Call clean_flist() with its new "collapse_dot_dot" arg.
[rsync/rsync.git]
/
options.c
diff --git
a/options.c
b/options.c
index
805b9e1
..
ec42bf8
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-743,28
+743,28
@@
int parse_arguments(int *argc, const char ***argv, int frommain)
if (server_exclude_list.head && !am_sender) {
struct exclude_list_struct *elp = &server_exclude_list;
if (tmpdir) {
if (server_exclude_list.head && !am_sender) {
struct exclude_list_struct *elp = &server_exclude_list;
if (tmpdir) {
- clean_fname(tmpdir);
+ clean_fname(tmpdir
, 1
);
if (check_exclude(elp, tmpdir, 1) < 0)
goto options_rejected;
}
if (partial_dir) {
if (check_exclude(elp, tmpdir, 1) < 0)
goto options_rejected;
}
if (partial_dir) {
- clean_fname(partial_dir);
+ clean_fname(partial_dir
, 1
);
if (check_exclude(elp, partial_dir, 1) < 0)
goto options_rejected;
}
if (compare_dest) {
if (check_exclude(elp, partial_dir, 1) < 0)
goto options_rejected;
}
if (compare_dest) {
- clean_fname(compare_dest);
+ clean_fname(compare_dest
, 1
);
if (check_exclude(elp, compare_dest, 1) < 0)
goto options_rejected;
}
if (backup_dir) {
if (check_exclude(elp, compare_dest, 1) < 0)
goto options_rejected;
}
if (backup_dir) {
- clean_fname(backup_dir);
+ clean_fname(backup_dir
, 1
);
if (check_exclude(elp, backup_dir, 1) < 0)
goto options_rejected;
}
}
if (server_exclude_list.head && files_from) {
if (check_exclude(elp, backup_dir, 1) < 0)
goto options_rejected;
}
}
if (server_exclude_list.head && files_from) {
- clean_fname(files_from);
+ clean_fname(files_from
, 1
);
if (check_exclude(&server_exclude_list, files_from, 0) < 0) {
options_rejected:
snprintf(err_buf, sizeof err_buf,
if (check_exclude(&server_exclude_list, files_from, 0) < 0) {
options_rejected:
snprintf(err_buf, sizeof err_buf,