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
15dbffc2
Commit
15dbffc2
authored
Feb 19, 2008
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a compilation problem when iconv support is disabled.
parent
0099e423
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
clientserver.c
clientserver.c
+3
-1
options.c
options.c
+2
-0
No files found.
clientserver.c
View file @
15dbffc2
...
...
@@ -391,7 +391,7 @@ static int rsync_module(int f_in, int f_out, int i, char *addr, char *host)
pid_t
pre_exec_pid
=
0
;
char
*
request
=
NULL
;
#ifdef ICONV_
CONST
#ifdef ICONV_
OPTION
iconv_opt
=
lp_charset
(
i
);
if
(
*
iconv_opt
)
setup_iconv
();
...
...
@@ -806,6 +806,7 @@ static int rsync_module(int f_in, int f_out, int i, char *addr, char *host)
exit_cleanup
(
RERR_UNSUPPORTED
);
}
#ifdef ICONV_OPTION
if
(
!
iconv_opt
)
{
if
(
ic_send
!=
(
iconv_t
)
-
1
)
{
iconv_close
(
ic_send
);
...
...
@@ -816,6 +817,7 @@ static int rsync_module(int f_in, int f_out, int i, char *addr, char *host)
ic_recv
=
(
iconv_t
)
-
1
;
}
}
#endif
if
(
!
numeric_ids
&&
(
use_chroot
?
lp_numeric_ids
(
i
)
!=
False
:
lp_numeric_ids
(
i
)
==
True
))
...
...
options.c
View file @
15dbffc2
...
...
@@ -1140,7 +1140,9 @@ int parse_arguments(int *argc_p, const char ***argv_p, int frommain)
break
;
case
OPT_NO_ICONV
:
#ifdef ICONV_OPTION
iconv_opt
=
NULL
;
#endif
break
;
case
OPT_MAX_SIZE
:
...
...
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