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
c2226070
Commit
c2226070
authored
Jan 28, 2006
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't add the "protect" filter rule for backup-suffix filenames
if --backup was not specified.
parent
d5782b52
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
options.c
options.c
+1
-1
No files found.
options.c
View file @
c2226070
...
@@ -1262,7 +1262,7 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
...
@@ -1262,7 +1262,7 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
snprintf
(
err_buf
,
sizeof
err_buf
,
snprintf
(
err_buf
,
sizeof
err_buf
,
"--suffix cannot be a null string without --backup-dir
\n
"
);
"--suffix cannot be a null string without --backup-dir
\n
"
);
return
0
;
return
0
;
}
else
if
(
delete_mode
&&
!
delete_excluded
)
{
}
else
if
(
make_backups
&&
delete_mode
&&
!
delete_excluded
)
{
snprintf
(
backup_dir_buf
,
sizeof
backup_dir_buf
,
snprintf
(
backup_dir_buf
,
sizeof
backup_dir_buf
,
"P *%s"
,
backup_suffix
);
"P *%s"
,
backup_suffix
);
parse_rule
(
&
filter_list
,
backup_dir_buf
,
0
,
0
);
parse_rule
(
&
filter_list
,
backup_dir_buf
,
0
,
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