[PATCH] Fix syslogd circular log buffer: head pointer not movedforward

Denys Vlasenko vda.linux at googlemail.com
Mon Aug 13 14:47:19 UTC 2007


On Monday 13 August 2007 14:33, Jari Takkala wrote:
> On Thursday, August 09, 2007 4:04 PM, busybox-bounces at busybox.net wrote:
> > The following patch fixes the circular log buffer in syslogd.
> > Currently the head pointer is never moved forward. The
> > 'logread' command will always read from the beginning of the
> > buffer, even if the log buffer wraps.
> >
> > I have only been able to test this patch on Busybox 1.4.2.
> > I've included a patch for 1.6.0 as well, if someone would
> > please test and commit it. Thank you!
>
> Any comment on this patch?

A more radical solution is applied to svn. Can you test it?
--
vda



More information about the busybox mailing list