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
719522b9
Commit
719522b9
authored
Apr 21, 2007
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweaked --version in a few minor ways, including the mentioning of
the SUBPROTOCOL_VERSION if it is non-zero.
parent
753849fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
options.c
options.c
+10
-4
No files found.
options.c
View file @
719522b9
...
...
@@ -198,6 +198,7 @@ char *bind_address;
static
void
print_rsync_version
(
enum
logcode
f
)
{
char
buf
[
32
];
char
const
*
got_socketpair
=
"no "
;
char
const
*
have_inplace
=
"no "
;
char
const
*
hardlinks
=
"no "
;
...
...
@@ -233,11 +234,16 @@ static void print_rsync_version(enum logcode f)
ipv6
=
""
;
#endif
rprintf
(
f
,
"%s version %s protocol version %d
\n
"
,
RSYNC_NAME
,
RSYNC_VERSION
,
PROTOCOL_VERSION
);
if
(
SUBPROTOCOL_VERSION
)
snprintf
(
buf
,
sizeof
buf
,
".PR%d"
,
SUBPROTOCOL_VERSION
);
else
*
buf
=
'\0'
;
rprintf
(
f
,
"%s version %s protocol version %d%s
\n
"
,
RSYNC_NAME
,
RSYNC_VERSION
,
PROTOCOL_VERSION
,
buf
);
rprintf
(
f
,
"Copyright (C) 1996-2007 by Andrew Tridgell, Wayne Davison, and others.
\n
"
);
rprintf
(
f
,
"<http://rsync.samba.org/>
\n
"
);
rprintf
(
f
,
"Capabilities: %d-bit files, %d-bit inums, %d-bit timestamps, %d-bit long ints,
\n
"
,
rprintf
(
f
,
"Web site: http://rsync.samba.org/
\n
"
);
rprintf
(
f
,
"Capabilities:
\n
"
);
rprintf
(
f
,
" %d-bit files, %d-bit inums, %d-bit timestamps, %d-bit long ints,
\n
"
,
(
int
)(
sizeof
(
OFF_T
)
*
8
),
(
int
)(
sizeof
dumstat
->
st_ino
*
8
),
/* Don't check ino_t! */
(
int
)(
sizeof
(
time_t
)
*
8
),
...
...
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