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
fed1f3f4
Commit
fed1f3f4
authored
Sep 03, 2005
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make use of the per-module "temp dir" setting.
parent
18cad449
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
clientserver.c
clientserver.c
+11
-0
No files found.
clientserver.c
View file @
fed1f3f4
...
...
@@ -48,6 +48,7 @@ extern char *bind_address;
extern
struct
filter_list_struct
server_filter_list
;
extern
char
*
config_file
;
extern
char
*
files_from
;
extern
char
*
tmpdir
;
char
*
auth_user
;
int
read_only
=
0
;
...
...
@@ -473,6 +474,16 @@ static int rsync_module(int f_in, int f_out, int i)
am_root
=
(
MY_UID
()
==
0
);
}
if
(
lp_temp_dir
(
i
)
&&
*
lp_temp_dir
(
i
))
{
tmpdir
=
lp_temp_dir
(
i
);
if
(
strlen
(
tmpdir
)
>=
MAXPATHLEN
-
10
)
{
rprintf
(
FLOG
,
"the 'temp dir' value for %s is WAY too long -- ignoring.
\n
"
,
name
);
tmpdir
=
NULL
;
}
}
io_printf
(
f_out
,
"@RSYNCD: OK
\n
"
);
maxargs
=
MAX_ARGS
;
...
...
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