Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
77812418
Commit
77812418
authored
Mar 13, 2009
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make missing args governed by protect filters, not hide.
parent
b5473dd4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
flist.c
flist.c
+1
-1
generator.c
generator.c
+3
-1
No files found.
flist.c
View file @
77812418
...
@@ -2189,7 +2189,7 @@ struct file_list *send_file_list(int f, int argc, char *argv[])
...
@@ -2189,7 +2189,7 @@ struct file_list *send_file_list(int f, int argc, char *argv[])
}
}
/* A dot-dir should not be excluded! */
/* A dot-dir should not be excluded! */
if
(
name_type
!=
DOTDIR_NAME
if
(
name_type
!=
DOTDIR_NAME
&&
st
.
st_mode
!=
0
&&
is_excluded
(
fbuf
,
S_ISDIR
(
st
.
st_mode
)
!=
0
,
ALL_FILTERS
))
&&
is_excluded
(
fbuf
,
S_ISDIR
(
st
.
st_mode
)
!=
0
,
ALL_FILTERS
))
continue
;
continue
;
...
...
generator.c
View file @
77812418
...
@@ -97,7 +97,7 @@ extern mode_t orig_umask;
...
@@ -97,7 +97,7 @@ extern mode_t orig_umask;
extern
uid_t
our_uid
;
extern
uid_t
our_uid
;
extern
char
*
basis_dir
[
MAX_BASIS_DIRS
+
1
];
extern
char
*
basis_dir
[
MAX_BASIS_DIRS
+
1
];
extern
struct
file_list
*
cur_flist
,
*
first_flist
,
*
dir_flist
;
extern
struct
file_list
*
cur_flist
,
*
first_flist
,
*
dir_flist
;
extern
struct
filter_list_struct
daemon_filter_list
;
extern
struct
filter_list_struct
filter_list
,
daemon_filter_list
;
int
maybe_ATTRS_REPORT
=
0
;
int
maybe_ATTRS_REPORT
=
0
;
...
@@ -1178,6 +1178,8 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
...
@@ -1178,6 +1178,8 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
}
}
if
(
delete_missing_args
&&
file
->
mode
==
0
)
{
if
(
delete_missing_args
&&
file
->
mode
==
0
)
{
if
(
filter_list
.
head
&&
check_filter
(
&
filter_list
,
FINFO
,
fname
,
is_dir
)
<
0
)
return
;
if
(
statret
==
0
)
if
(
statret
==
0
)
delete_item
(
fname
,
sx
.
st
.
st_mode
,
del_opts
);
delete_item
(
fname
,
sx
.
st
.
st_mode
,
del_opts
);
return
;
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment