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
45e08edb
Commit
45e08edb
authored
Jan 27, 2004
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cast getpid() to a long for output.
parent
05b7bab8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
generator.c
generator.c
+4
-3
main.c
main.c
+8
-4
No files found.
generator.c
View file @
45e08edb
...
...
@@ -530,9 +530,10 @@ void generate_files(int f, struct file_list *flist, char *local_name)
int
phase
=
0
;
char
fbuf
[
MAXPATHLEN
];
if
(
verbose
>
2
)
rprintf
(
FINFO
,
"generator starting pid=%d count=%d
\n
"
,
(
int
)
getpid
(),
flist
->
count
);
if
(
verbose
>
2
)
{
rprintf
(
FINFO
,
"generator starting pid=%ld count=%d
\n
"
,
(
long
)
getpid
(),
flist
->
count
);
}
if
(
verbose
>=
2
)
{
rprintf
(
FINFO
,
...
...
main.c
View file @
45e08edb
...
...
@@ -363,8 +363,10 @@ static void do_server_sender(int f_in, int f_out, int argc,char *argv[])
struct
file_list
*
flist
;
char
*
dir
=
argv
[
0
];
if
(
verbose
>
2
)
rprintf
(
FINFO
,
"server_sender starting pid=%d
\n
"
,(
int
)
getpid
());
if
(
verbose
>
2
)
{
rprintf
(
FINFO
,
"server_sender starting pid=%ld
\n
"
,
(
long
)
getpid
());
}
if
(
!
relative_paths
&&
!
push_dir
(
dir
))
{
rprintf
(
FERROR
,
"push_dir %s failed: %s (3)
\n
"
,
...
...
@@ -484,8 +486,10 @@ static void do_server_recv(int f_in, int f_out, int argc,char *argv[])
char
*
local_name
=
NULL
;
char
*
dir
=
NULL
;
if
(
verbose
>
2
)
rprintf
(
FINFO
,
"server_recv(%d) starting pid=%d
\n
"
,
argc
,(
int
)
getpid
());
if
(
verbose
>
2
)
{
rprintf
(
FINFO
,
"server_recv(%d) starting pid=%ld
\n
"
,
argc
,
(
long
)
getpid
());
}
if
(
am_daemon
&&
lp_read_only
(
module_id
)
&&
!
am_sender
)
{
rprintf
(
FERROR
,
"ERROR: module is read only
\n
"
);
...
...
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