Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
6e05f333
Commit
6e05f333
authored
Apr 12, 2012
by
antirez
Browse files
Print arch bits with redis-server -v
parent
4c442e9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis.c
View file @
6e05f333
...
@@ -2302,8 +2302,12 @@ void daemonize(void) {
...
@@ -2302,8 +2302,12 @@ void daemonize(void) {
}
}
void
version
()
{
void
version
()
{
printf
(
"Redis server v=%s sha=%s:%d malloc=%s
\n
"
,
REDIS_VERSION
,
printf
(
"Redis server v=%s sha=%s:%d malloc=%s bits=%d
\n
"
,
redisGitSHA1
(),
atoi
(
redisGitDirty
())
>
0
,
ZMALLOC_LIB
);
REDIS_VERSION
,
redisGitSHA1
(),
atoi
(
redisGitDirty
())
>
0
,
ZMALLOC_LIB
,
sizeof
(
long
)
==
4
?
32
:
64
);
exit
(
0
);
exit
(
0
);
}
}
...
...
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