Rainer Gerhards f71e2f21b4 imfile bugfix: statefiles contain invalid JSON
When imfile rewrites state files, it does not truncate previous
content. If the new content is smaller than the existing one, the
existing part will not be overwritten, resulting in invalid json.
That in turn can lead to some other failures.

closes https://github.com/rsyslog/rsyslog/issues/2662
2018-04-26 17:26:45 +02:00
..
2018-04-10 10:31:24 +02:00
2017-01-17 08:54:37 +01:00
2018-03-17 14:41:19 +01:00
2017-01-17 08:54:37 +01:00
2017-01-17 08:54:37 +01:00
2016-12-09 14:59:30 +01:00