busybox/sysklogd
Joshua Judson Rosen 1b90e031c3 syslogd: avoid spurious ftrunctate() calls for "-b 0"
Forgetting to re-set log_file->size after truncating to zero
discards log-data for the next 1 second following an oversize-induced purge,
when we shouldn't necessarily throw that data away.

Signed-off-by: Joshua Judson Rosen <jrosen@harvestai.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2014-06-02 03:11:38 +02:00
..
Config.src syslogd: add option to log to Linux kernel printk buffer 2013-01-06 13:30:50 -05:00
Kbuild.src *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
klogd.c klogd: handle multi-char log levels 2013-01-05 21:03:19 -05:00
logger.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
logread.c Use unsigned printf/scanf conversion where more appropriate 2013-11-29 16:45:45 +01:00
syslogd_and_logger.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
syslogd.c syslogd: avoid spurious ftrunctate() calls for "-b 0" 2014-06-02 03:11:38 +02:00