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
62125b10
Commit
62125b10
authored
Feb 10, 2004
by
J.W. Schultz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplified test for hardlink in make_backup debug message to
avoid core-dump.
parent
81c3a3a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
backup.c
backup.c
+2
-5
No files found.
backup.c
View file @
62125b10
...
...
@@ -264,11 +264,8 @@ static int keep_backup(char *fname)
kept
=
1
;
}
#endif
if
(
!
kept
&&
preserve_hard_links
&&
file
->
link_u
.
links
&&
hlink_list
[
file
->
F_HLINDEX
]
!=
file
)
{
if
(
verbose
>
1
)
rprintf
(
FINFO
,
"%s is a hard link
\n
"
,
f_name
(
file
));
}
if
(
!
kept
&&
preserve_hard_links
&&
file
->
link_u
.
links
&&
verbose
>
1
)
rprintf
(
FINFO
,
"%s was a hard link
\n
"
,
f_name
(
file
));
if
(
!
kept
&&
!
S_ISREG
(
file
->
mode
))
{
rprintf
(
FINFO
,
"make_bak: skipping non-regular file %s
\n
"
,
...
...
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