version 1.103, 2017/07/14 20:51:17 |
version 1.104, 2017/07/14 22:17:16 |
|
|
sleep(5); |
sleep(5); |
|
|
/* Step 4, compress the log.0 file if configured to do so and free */ |
/* Step 4, compress the log.0 file if configured to do so and free */ |
TAILQ_FOREACH_SAFE(p, &runlist, next, tmp) { |
TAILQ_FOREACH(p, &runlist, next) { |
if ((p->flags & CE_COMPACT) && (p->flags & CE_ROTATED) && |
if ((p->flags & CE_COMPACT) && (p->flags & CE_ROTATED) && |
p->numlogs > 0) |
p->numlogs > 0) |
compress_log(p); |
compress_log(p); |
free(p); |
|
} |
} |
|
|
/* Wait for children to finish, then exit */ |
/* Wait for children to finish, then exit */ |