Module: check_mk
Branch: master
Commit: fc96cd0d661bd51434d252198b574b2dc752a9c6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fc96cd0d661bd5…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Tue Sep 12 16:56:35 2017 +0200
Get rid of WideCharToMultiByte
Replace WinAPI WideCharToMultiByte by std::wstring_convert.
TODO: MultiByteToWideChar cannot be replaced yet due to an endian error
in MinGW version of std::wstring_convert::from_bytes.
Change-Id: I561fabe9fb7d42e4473abc2e6c8f5a32a048744f
---
agents/windows/EventLog.cc | 12 ++--
agents/windows/EventLogVista.cc | 6 +-
agents/windows/WinApi.cc | 10 ----
agents/windows/WinApi.h | 5 --
agents/windows/WinApiAdaptor.h | 5 --
agents/windows/build_version | 2 +-
agents/windows/check_mk_agent-64.exe | Bin 1382912 -> 1565696 bytes
agents/windows/check_mk_agent-64.unstripped.exe | Bin 17449197 -> 22787160 bytes
agents/windows/check_mk_agent-64.unversioned.exe | Bin 1382912 -> 1565696 bytes
agents/windows/check_mk_agent.exe | Bin 1359872 -> 1548800 bytes
agents/windows/check_mk_agent.msi | Bin 3013632 -> 3388416 bytes
agents/windows/check_mk_agent.unstripped.exe | Bin 15247150 -> 19628063 bytes
agents/windows/check_mk_agent.unversioned.exe | Bin 1359872 -> 1548800 bytes
agents/windows/install_agent-64.exe | Bin 606728 -> 681533 bytes
agents/windows/install_agent.exe | Bin 605804 -> 676613 bytes
agents/windows/plugins/mk_jolokia.exe | Bin 10106814 -> 10106814 bytes
agents/windows/sections/SectionEventlog.cc | 2 +-
agents/windows/sections/SectionLogwatch.cc | 25 ++++----
agents/windows/sections/SectionPS.cc | 71 +++++++++--------------
agents/windows/sections/SectionPS.h | 2 +-
agents/windows/sections/SectionPluginGroup.cc | 2 +-
agents/windows/sections/SectionSkype.cc | 7 +--
agents/windows/stringutil.cc | 39 ++-----------
agents/windows/stringutil.h | 17 ++++--
agents/windows/wmiHelper.cc | 27 +++++----
agents/windows/wmiHelper.h | 6 +-
26 files changed, 83 insertions(+), 155 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=fc96cd0d66…