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
8dd6ea1f
Commit
8dd6ea1f
authored
Oct 22, 2011
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix --delete-missing-args when --relative is active.
parent
7c8f1809
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
flist.c
flist.c
+6
-2
No files found.
flist.c
View file @
8dd6ea1f
...
...
@@ -102,6 +102,7 @@ int flist_eof = 0; /* all the file-lists are now known */
#define NORMAL_NAME 0
#define SLASH_ENDING_NAME 1
#define DOTDIR_NAME 2
#define MISSING_NAME 3
/* Starting from protocol version 26, we always use 64-bit ino_t and dev_t
* internally, even if this platform does not allow files to have 64-bit inums.
...
...
@@ -1933,7 +1934,9 @@ static void send1extra(int f, struct file_struct *file, struct file_list *flist)
if
(
name_type
!=
NORMAL_NAME
)
{
STRUCT_STAT
st
;
if
(
link_stat
(
fbuf
,
&
st
,
1
)
!=
0
)
{
if
(
name_type
==
MISSING_NAME
)
memset
(
&
st
,
0
,
sizeof
st
);
else
if
(
link_stat
(
fbuf
,
&
st
,
1
)
!=
0
)
{
interpret_stat_error
(
fbuf
,
True
);
continue
;
}
...
...
@@ -2285,7 +2288,8 @@ struct file_list *send_file_list(int f, int argc, char *argv[])
p
=
fn
;
}
else
fn
=
p
;
send_implied_dirs
(
f
,
flist
,
fbuf
,
fbuf
,
p
,
flags
,
name_type
);
send_implied_dirs
(
f
,
flist
,
fbuf
,
fbuf
,
p
,
flags
,
st
.
st_mode
==
0
?
MISSING_NAME
:
name_type
);
if
(
fn
==
p
)
continue
;
}
...
...
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