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
d1fe65fc
Commit
d1fe65fc
authored
May 03, 2010
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make an empty-string dest-dir the same as "." again.
parent
9fbec6e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
main.c
main.c
+4
-0
No files found.
main.c
View file @
d1fe65fc
...
...
@@ -576,6 +576,10 @@ static char *get_local_name(struct file_list *flist, char *dest_path)
if
(
!
dest_path
||
list_only
)
return
NULL
;
/* Treat an empty string as a copy into the current directory. */
if
(
!*
dest_path
)
dest_path
=
"."
;
if
(
daemon_filter_list
.
head
)
{
char
*
slash
=
strrchr
(
dest_path
,
'/'
);
if
(
slash
&&
(
slash
[
1
]
==
'\0'
||
(
slash
[
1
]
==
'.'
&&
slash
[
2
]
==
'\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