summaryrefslogtreecommitdiffstats
path: root/plugins/imfile/imfile.c
diff options
context:
space:
mode:
authorMilan Bartos <mbartos@redhat.com>2012-11-15 09:14:48 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-11-15 09:14:48 +0100
commit03c2dbc7c25316c377dbf70bfff564070f0441d2 (patch)
treecd4c888ea664d2cd243ddb15b33adc3f1dc3b612 /plugins/imfile/imfile.c
parentc0f5dd3fbf877799ac8fec4d00b2f2c69014b413 (diff)
downloadrsyslog-03c2dbc7c25316c377dbf70bfff564070f0441d2.tar.gz
rsyslog-03c2dbc7c25316c377dbf70bfff564070f0441d2.tar.bz2
rsyslog-03c2dbc7c25316c377dbf70bfff564070f0441d2.zip
bugfix: imfile discarded some file parts
File lines that were incomplete (LF missing) *at the time imfile polled the file* were partially discarded. That part of the line that was read without the LF was discarded, and the rest of the line was submitted in the next polling cycle. This is now changed so that the partial content is saved until the complete line is read. Note that the patch affects only read mode 0.
Diffstat (limited to 'plugins/imfile/imfile.c')
0 files changed, 0 insertions, 0 deletions