svlogd: do not overrun read buffer (fixes bug 439)
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 3 Jul 2009 16:31:23 +0000 (18:31 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 3 Jul 2009 16:31:23 +0000 (18:31 +0200)
commitc5d07fba29a477569a96777c9cab73e53b1ddd5c
tree8b7db96623895cf32cd350a894e1654834cec319
parent97ef65483a40f8622aaa73408dc0909f01ebd118
svlogd: do not overrun read buffer (fixes bug 439)

function                                             old     new   delta
rotate                                               513     534     +21
logdirs_reopen                                      1291    1296      +5
processorstart                                       409     385     -24

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
runit/svlogd.c