Redis 2.7.101 (2.8 Release Candidate 1).

This commit is contained in:
antirez
2013-07-18 11:26:53 +02:00
parent a50635bb6c
commit 3cb3714e99
6 changed files with 94 additions and 1070 deletions

View File

@ -320,7 +320,7 @@ void redisLogFromHandler(int level, const char *msg) {
if ((level&0xff) < server.verbosity || (log_to_stdout && server.daemonize))
return;
fd = log_to_stdout ? STDOUT_FILENO :
fd = log_to_stdout ? STDOUT_FILENO :
open(server.logfile, O_APPEND|O_CREAT|O_WRONLY, 0644);
if (fd == -1) return;
ll2string(buf,sizeof(buf),getpid());