Merge branch 'develop' into shm_log_fix

This commit is contained in:
Markus Makela
2014-10-10 07:02:22 +03:00
42 changed files with 5664 additions and 139 deletions

View File

@ -2073,7 +2073,7 @@ static bool logfile_init(
char* c;
pid_t pid = getpid();
int len = strlen(shm_pathname_prefix)+
get_decimal_len((size_t)pid);
get_decimal_len((size_t)pid) + 1;
c = (char *)calloc(len, sizeof(char));