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
eb67a690
Commit
eb67a690
authored
Nov 29, 2007
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't try to process hard-link data in list-only mode.
parent
9217ce30
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
+15
-12
hlink.c
hlink.c
+15
-12
No files found.
hlink.c
View file @
eb67a690
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
extern
int
verbose
;
extern
int
verbose
;
extern
int
dry_run
;
extern
int
dry_run
;
extern
int
list_only
;
extern
int
am_sender
;
extern
int
am_sender
;
extern
int
inc_recurse
;
extern
int
inc_recurse
;
extern
int
do_xfers
;
extern
int
do_xfers
;
...
@@ -174,6 +175,7 @@ static void match_gnums(int32 *ndx_list, int ndx_count)
...
@@ -174,6 +175,7 @@ static void match_gnums(int32 *ndx_list, int ndx_count)
* to first when we're done. */
* to first when we're done. */
void
match_hard_links
(
struct
file_list
*
flist
)
void
match_hard_links
(
struct
file_list
*
flist
)
{
{
if
(
!
list_only
)
{
int
i
,
ndx_count
=
0
;
int
i
,
ndx_count
=
0
;
int32
*
ndx_list
;
int32
*
ndx_list
;
...
@@ -191,6 +193,7 @@ void match_hard_links(struct file_list *flist)
...
@@ -191,6 +193,7 @@ void match_hard_links(struct file_list *flist)
match_gnums
(
ndx_list
,
ndx_count
);
match_gnums
(
ndx_list
,
ndx_count
);
free
(
ndx_list
);
free
(
ndx_list
);
}
if
(
protocol_version
<
30
)
if
(
protocol_version
<
30
)
idev_destroy
();
idev_destroy
();
}
}
...
...
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