Module: check_mk
Branch: master
Commit: 594db4e58cd46ae746f7bf052d1e44687a753375
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=594db4e58cd46a…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Wed Mar 21 09:47:47 2018 +0100
5920 FIX Windows: use standard file matching patterns for fileinfo
Until now, Windows agent was using a non-standard way of defining
recursive wildcards. From now on, the supported wildcard patterns '*',
'?' and '**' work in a standardized way. Recursive patterns can be
defined with '**', matching all descendants of the path so far.
Previous patterns with single '*'s on several directory levels will
from now on work as non-recursive patterns conforming to the standard.
---
.werks/5920 | 15 ++
agents/windows/WinApi.cc | 5 +
agents/windows/WinApi.h | 2 +
agents/windows/WinApiAdaptor.h | 2 +
agents/windows/build_version | 2 +-
agents/windows/check_mk.example.ini | 2 +
agents/windows/sections/SectionFileinfo.cc | 344 +++++++++++++++++++++--------
agents/windows/sections/SectionFileinfo.h | 19 +-
agents/windows/test/MockWinApi.h | 3 +
agents/windows/types.cc | 6 +
agents/windows/types.h | 12 +-
11 files changed, 301 insertions(+), 111 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=594db4e58c…