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
37ce1679
Commit
37ce1679
authored
Oct 18, 2007
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We can't decrement the in_progress value for a hard-linked file until
the generator gets a chance to finish the hard links.
parent
88a74268
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
generator.c
generator.c
+1
-0
io.c
io.c
+3
-2
No files found.
generator.c
View file @
37ce1679
...
...
@@ -1873,6 +1873,7 @@ void check_for_finished_files(int itemizing, enum logcode code, int check_redo)
file
=
flist
->
files
[
ndx
-
flist
->
ndx_start
];
assert
(
file
->
flags
&
FLAG_HLINKED
);
finish_hard_link
(
file
,
f_name
(
file
,
fbuf
),
ndx
,
NULL
,
itemizing
,
code
,
-
1
);
flist
->
in_progress
--
;
}
#endif
...
...
io.c
View file @
37ce1679
...
...
@@ -181,7 +181,6 @@ static void got_flist_entry_status(enum festatus status, const char *buf)
struct
file_list
*
flist
=
flist_for_ndx
(
ndx
);
assert
(
flist
!=
NULL
);
assert
(
ndx
>=
flist
->
ndx_start
);
if
(
remove_source_files
)
{
active_filecnt
--
;
...
...
@@ -197,8 +196,10 @@ static void got_flist_entry_status(enum festatus status, const char *buf)
send_msg
(
MSG_SUCCESS
,
buf
,
4
,
0
);
if
(
preserve_hard_links
)
{
struct
file_struct
*
file
=
flist
->
files
[
ndx
-
flist
->
ndx_start
];
if
(
F_IS_HLINKED
(
file
))
if
(
F_IS_HLINKED
(
file
))
{
flist_ndx_push
(
&
hlink_list
,
ndx
);
flist
->
in_progress
++
;
}
}
break
;
case
FES_REDO
:
...
...
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