Module: check_mk
Branch: master
Commit: cf0742abfa7eaff28f5c98f49a3c6d6434c8507e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cf0742abfa7eaf…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Mon Dec 18 14:09:08 2017 +0100
Windows agent: use RAII in SectionLogwatch
* Use file stream objects for file input and output.
* Wrap search handle.
Additionally, define standalone functions in anonymous namespace.
Change-Id: Ib4f8585f88a00ed49b61b3f2f189da03efe0b19d
---
agents/windows/build_version | 2 +-
agents/windows/sections/SectionLogwatch.cc | 234 +++++++++++++++--------------
agents/windows/sections/SectionLogwatch.h | 7 +-
3 files changed, 129 insertions(+), 114 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=cf0742abfa…