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
6fb7cc38
Commit
6fb7cc38
authored
Jun 16, 2006
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure that the %f escape always has the full path info when
receiving files.
parent
8a7b8400
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
log.c
log.c
+14
-2
No files found.
log.c
View file @
6fb7cc38
...
@@ -49,6 +49,8 @@ extern char *logfile_name;
...
@@ -49,6 +49,8 @@ extern char *logfile_name;
#if defined HAVE_ICONV_OPEN && defined HAVE_ICONV_H
#if defined HAVE_ICONV_OPEN && defined HAVE_ICONV_H
extern
iconv_t
ic_chck
;
extern
iconv_t
ic_chck
;
#endif
#endif
extern
char
curr_dir
[];
extern
unsigned
int
module_dirlen
;
static
int
log_initialised
;
static
int
log_initialised
;
static
int
logfile_was_closed
;
static
int
logfile_was_closed
;
...
@@ -513,8 +515,18 @@ static void log_formatted(enum logcode code, char *format, char *op,
...
@@ -513,8 +515,18 @@ static void log_formatted(enum logcode code, char *format, char *op,
strlcpy
(
n
,
buf2
,
MAXPATHLEN
);
strlcpy
(
n
,
buf2
,
MAXPATHLEN
);
else
else
n
=
buf2
;
n
=
buf2
;
}
else
}
else
{
clean_fname
(
n
,
0
);
if
(
*
n
!=
'/'
)
{
pathjoin
(
buf2
,
sizeof
buf2
,
curr_dir
+
module_dirlen
,
n
);
clean_fname
(
buf2
,
0
);
if
(
fmt
[
1
])
strlcpy
(
n
,
buf2
,
MAXPATHLEN
);
else
n
=
buf2
;
}
else
clean_fname
(
n
,
0
);
}
if
(
*
n
==
'/'
)
if
(
*
n
==
'/'
)
n
++
;
n
++
;
break
;
break
;
...
...
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