diff options
author | Joshua Judson Rosen <jrosen@harvestai.com> | 2014-07-03 14:51:47 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2014-07-03 14:51:47 +0200 |
commit | ae57fcad5d36dc2ba00179ef3e44154c10223862 (patch) | |
tree | 03eea81e4c4c8e3944327ae46fe15c4939846fd4 /libbb/wfopen.c | |
parent | e46047aa87c9ec0b8e27d1d4ecfcb3e9798ddb8d (diff) | |
download | busybox-ae57fcad5d36dc2ba00179ef3e44154c10223862.tar.gz |
syslogd: make "reopen log file every second" logic work for multiple logs
Move last_log_time from a single global to *each logFile_t*
so that we can actually apply the logic to every log-file
in multi-file configurations, rather than working only
for the first file written in each 1-second interval
and then leaving the others connected to possibly wrong files.
Signed-off-by: Joshua Judson Rosen <jrosen@harvestai.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/wfopen.c')
0 files changed, 0 insertions, 0 deletions