aboutsummaryrefslogtreecommitdiff
path: root/console-tools/reset.c
diff options
context:
space:
mode:
authorJoshua Judson Rosen <jrosen@harvestai.com>2014-07-03 14:51:47 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2014-07-03 14:51:47 +0200
commitae57fcad5d36dc2ba00179ef3e44154c10223862 (patch)
tree03eea81e4c4c8e3944327ae46fe15c4939846fd4 /console-tools/reset.c
parente46047aa87c9ec0b8e27d1d4ecfcb3e9798ddb8d (diff)
downloadbusybox-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 'console-tools/reset.c')
0 files changed, 0 insertions, 0 deletions