Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
2c9fd9cd
Commit
2c9fd9cd
authored
Jun 04, 2022
by
Rob Swindell
💬
Browse files
Print build details (date, time, compiler version) with -V output.
parent
30553f8a
Pipeline
#3083
passed with stage
in 15 minutes and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/vdmodem/vdmodem.c
src/vdmodem/vdmodem.c
+5
-1
No files found.
src/vdmodem/vdmodem.c
View file @
2c9fd9cd
...
...
@@ -1174,8 +1174,12 @@ int main(int argc, char** argv)
sbbsexec_mode
=
strtoul
(
arg
+
1
,
NULL
,
0
);
break
;
case
'V'
:
fprintf
(
stdout
,
"%s/%s
\n
"
,
GIT_BRANCH
,
GIT_HASH
);
{
char
compiler
[
128
];
DESCRIBE_COMPILER
(
compiler
);
fprintf
(
stdout
,
"%s/%s built %s %s using %s
\n
"
,
GIT_BRANCH
,
GIT_HASH
,
__DATE__
,
__TIME__
,
compiler
);
return
EXIT_SUCCESS
;
}
default:
usage
(
argv
[
0
]);
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