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
53039410
Commit
53039410
authored
Nov 11, 2006
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If ignore_perishable is set, increment a count of all excluded
items found by make_file().
parent
c0f1e57b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
flist.c
flist.c
+10
-2
No files found.
flist.c
View file @
53039410
...
...
@@ -48,6 +48,8 @@ extern int preserve_uid;
extern
int
preserve_gid
;
extern
int
relative_paths
;
extern
int
implied_dirs
;
extern
int
ignore_perishable
;
extern
int
non_perishable_cnt
;
extern
int
prune_empty_dirs
;
extern
int
copy_links
;
extern
int
copy_unsafe_links
;
...
...
@@ -753,8 +755,11 @@ struct file_struct *make_file(char *fname, struct file_list *flist,
/* See if file is excluded before reporting an error. */
if
(
filter_level
!=
NO_FILTERS
&&
(
is_excluded
(
thisname
,
0
,
filter_level
)
||
is_excluded
(
thisname
,
1
,
filter_level
)))
||
is_excluded
(
thisname
,
1
,
filter_level
)))
{
if
(
ignore_perishable
&&
save_errno
!=
ENOENT
)
non_perishable_cnt
++
;
return
NULL
;
}
if
(
save_errno
==
ENOENT
)
{
#ifdef SUPPORT_LINKS
/* Avoid "vanished" error if symlink points nowhere. */
...
...
@@ -804,8 +809,11 @@ struct file_struct *make_file(char *fname, struct file_list *flist,
flags
|=
FLAG_MOUNT_POINT
;
}
if
(
is_excluded
(
thisname
,
S_ISDIR
(
st
.
st_mode
)
!=
0
,
filter_level
))
if
(
is_excluded
(
thisname
,
S_ISDIR
(
st
.
st_mode
)
!=
0
,
filter_level
))
{
if
(
ignore_perishable
)
non_perishable_cnt
++
;
return
NULL
;
}
if
(
lp_ignore_nonreadable
(
module_id
))
{
#ifdef SUPPORT_LINKS
...
...
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