[collectd-changes] collectd, the system statistics collection daemon: Changes to 'collectd-4.9'

Florian Forster octo at verplant.org
Thu Aug 26 16:46:31 CEST 2010


 src/utils_match.c |    2 +-
 src/utils_tail.c  |    9 +++++++++
 2 files changed, 10 insertions(+), 1 deletions(-)

New commits:
commit 7a58a2fc82acfec330a6dd1f8f051b60120039c3
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Aug 23 19:02:06 2010 +0200

    src/utils_tail: Remove newline characters at the end of a line.
    
    The tool is supposed to work line-based, so a) the newline character is
    implicit and b) imho, does not belong to the string which is then further
    processed.
    
    Also, this allows '$' to match the end of a line when applying a regex to the
    line, no matter if the REG_NEWLINE flag has been used when compiling the regex
    or not.

commit a0f552b023917a5b5dac834a5b8d1ef5b82f27f5
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Aug 23 18:56:02 2010 +0200

    utils_match: Let '^' and '$' affect lines rather than the full string.
    
    The regcomp() flag REG_NEWLINE is required for that, even though regex(7)
    might make people think otherwise.




More information about the collectd-changes mailing list