Unescaped left brace and readd parsing of two errors
Status: Abandoned
Brought to you by:
samboca
Note: this is against 1.40.03, but that milestone isn't in the pull-down list...
Two issues:
$ perl -T postfix-logwatch -h > /dev/null Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^Config: { <-- HERE / at postfix-logwatch line 1850.
The fix is straight forward, just escale the left brace as recommended.
Between 1.39 and 1.40 code that parses some warnings (TLS library problem and network_biopair_interop) was:
first, not commented out (1.40.01)
second, pseudo commented out (via use of =cut)
* in either case, it is unclear why this was done - maybe I missed a relevant bug though
I'm suggesting we just re-enable the code with a little cleanup. If we really don't want it then perhaps we should remove it instead of hiding it in a =cut block?
Diff attached.
See also: https://sourceforge.net/p/logreporters/mailman/message/35410230/