Commits
Andris Mednis authored 596fcdc3cc0M
...G...PS. [ZBX-18168] improved regular expression compilation and runtime error reporting * commit '227169352d48abed8c00114999ce9b6ac54a9ed0': (51 commits) .D........ [ZBX-18168] added ChangeLog entry ...G...... [ZBX-18168] fixed directory handle leak in vfs_dir_size() on MS Windows ...G...PS. [ZBX-18168] fixed typos, removed redundant file include ...G...... [ZBX-18168] fixed incorrect return value in zbx_procstat_get_util() ...G...... [ZBX-18168] simplified code by moving regexp_exec2() functionality to regexp_exec() ...G...... [ZBX-18168] simplified code by moving regexp_sub2() functionality to regexp_sub() ...G...... [ZBX-18168] simplified code by moving zbx_regexp2() functionality to zbx_regexp() ...G...... [ZBX-18168] simplified code by moving regexp_match_ex_regsub2() functionality to regexp_match_ex_regsub() ...G...... [ZBX-18168] simplified code by moving regexp_sub_ex2() functionality to regexp_sub_ex() ...G...... [ZBX-18168] added argument check in zbx_procstat_get_util() ...G...... [ZBX-18168] modified VFS_FILE_REGEXP() and WEB_PAGE_REGEXP() to handle regexp runtime error as a fatal one ...G...PS. [ZBX-18168] renamed zbx_regexp_match_precompiled2() to zbx_regexp_match_precompiled() ...G...PS. [ZBX-18168] renamed zbx_regexp_compile2() to zbx_regexp_compile() ...G...PS. [ZBX-18168] renamed regexp_compile2() to regexp_compile() ...G...PS. [ZBX-18168] renamed regexp_prepare2() to regexp_prepare() ...G...PS. [ZBX-18168] switched the old zbx_regexp() and regexp_sub() to the new regexp_prepare2(), deleted old regexp_prepare() and regexp_compile() ...G...PS. [ZBX-18168] modified regexp_compile2() to make error message optional ...G...... [ZBX-18168] modified zbx_read2() to use improved regexp error reporting in log*[] items ...G...PS. [ZBX-18168] added regexp_match_ex_regsub2() and regexp_sub_ex2() with improved error reporting ...G...... [ZBX-18168] modified PROC_CPU_UTIL() for GNU/Linux to prevent inserting of invalid regexp into procstat collector ...
Showing diff to227169352d4