[Syslog-ng-commit] syslog-ng--mainline: fixed fetching kernel
messages which was broken by the multi-read patches
Balazs Scheidler
bazsi at balabit.hu
Sun Apr 30 22:20:50 CEST 2006
Link: <http://intra.balabit/cgi-bin/viewarch.cgi/devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-45>
Revision: syslog-ng--mainline--2.0--patch-45
Archive: devel at balabit.hu--other-1
Creator: Balazs Scheidler <bazsi at balabit.hu>
Date: Sun Apr 30 22:20:44 CEST 2006
Standard-date: 2006-04-30 20:20:44 GMT
Modified-files: ChangeLog src/affile.c src/logreader.c
src/logreader.h
New-patches: devel at balabit.hu--other-1/syslog-ng--mainline--2.0--patch-45
Summary: fixed fetching kernel messages which was broken by the multi-read patches
Keywords:
* src/logreader.h (LR_NOMREAD): new flag, indicates that the log
reader should not use multiple read() calls in a single poll loop
* src/logreader.c (log_reader_fetch_log): break out of the loop if
LR_NOMREAD is specified
* src/affile.c (affile_sd_init): specify LR_NOMREAD
Diff stats:
ChangeLog | 20 ++++++++++++++++++++
src/affile.c | 2 +-
src/logreader.c | 3 +++
src/logreader.h | 9 ++++++---
4 files changed, 30 insertions(+), 4 deletions(-)
More information about the Syslog-ng-commit
mailing list