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
36e2ea60
Commit
36e2ea60
authored
Oct 13, 2006
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use new FNONE value when setting/comparing enum logcode vars.
parent
f4164b73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
hlink.c
hlink.c
+5
-3
No files found.
hlink.c
View file @
36e2ea60
...
@@ -216,8 +216,10 @@ int hard_link_check(struct file_struct *file, int ndx, char *fname,
...
@@ -216,8 +216,10 @@ int hard_link_check(struct file_struct *file, int ndx, char *fname,
continue
;
continue
;
statret
=
1
;
statret
=
1
;
st
=
&
st3
;
st
=
&
st3
;
if
(
verbose
<
2
||
!
stdout_format_has_i
)
if
(
verbose
<
2
||
!
stdout_format_has_i
)
{
itemizing
=
code
=
0
;
itemizing
=
0
;
code
=
FNONE
;
}
break
;
break
;
}
}
if
(
!
unchanged_file
(
cmpbuf
,
file
,
&
st3
))
if
(
!
unchanged_file
(
cmpbuf
,
file
,
&
st3
))
...
@@ -266,7 +268,7 @@ int hard_link_one(struct file_struct *file, int ndx, char *fname,
...
@@ -266,7 +268,7 @@ int hard_link_one(struct file_struct *file, int ndx, char *fname,
ITEM_LOCAL_CHANGE
|
ITEM_XNAME_FOLLOWS
,
0
,
ITEM_LOCAL_CHANGE
|
ITEM_XNAME_FOLLOWS
,
0
,
terse
?
""
:
toname
);
terse
?
""
:
toname
);
}
}
if
(
code
&&
verbose
&&
!
terse
)
if
(
code
!=
FNONE
&&
verbose
&&
!
terse
)
rprintf
(
code
,
"%s => %s
\n
"
,
fname
,
toname
);
rprintf
(
code
,
"%s => %s
\n
"
,
fname
,
toname
);
return
0
;
return
0
;
}
}
...
...
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