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

Florian Forster octo at verplant.org
Thu May 31 23:52:22 CEST 2018


 src/daemon/utils_subst.c |   22 ----------------------
 src/daemon/utils_subst.h |   11 -----------
 src/liboconfig/scanner.l |   23 +++++++++++------------
 src/tcpconns.c           |    7 +++----
 src/unixsock.c           |    3 +--
 src/uuid.c               |    5 +----
 src/virt.c               |    4 ++--
 src/wireless.c           |    2 +-
 8 files changed, 19 insertions(+), 58 deletions(-)

New commits:
commit 99ddbf5989b80ae9eb8aea2a24b28c950d8e7977
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu May 31 17:14:44 2018 +0200

    tcpconns plugin: fix implicit conversion warnings
    
      CC       src/tcpconns.lo
    src/tcpconns.c:510:14: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
        status = recvmsg(fd, (void *)&msg, /* flags = */ 0);
               ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/tcpconns.c:577:20: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
      int buffer_len = strlen(buffer);
          ~~~~~~~~~~   ^~~~~~~~~~~~~~
    2 warnings generated.

commit c4530c96d62e90c2cd66f6d10bf3287ae87bf84e
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu May 31 16:52:35 2018 +0200

    unixsock plugin: fix implicit conversion warning
    
      CC       src/unixsock.lo
    src/unixsock.c:225:11: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
        len = strlen(buffer);
            ~ ^~~~~~~~~~~~~~
    1 warning generated.

commit bb9b8606ecc6526d7423a7135a3b8ce7ab5e9fec
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu May 31 16:51:34 2018 +0200

    uuid plugin: fix implicit conversion warning
    
      CC       src/uuid.lo
    src/uuid.c:50:9: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
      len = strlen(uuid);
          ~ ^~~~~~~~~~~~
    1 warning generated.

commit df349a2e12e6170f86818c6f2c6ee7a560a8467a
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu May 31 16:47:05 2018 +0200

    scanner.l: modernize code a bit

commit f96dc61ae9a30e70d4007e496662c2a7188e48f7
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu May 31 16:43:09 2018 +0200

    scanner.l: use size_t for 2 variables

commit 0261b776d7300048bfc95be6f808e98fbe896f76
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu May 31 16:40:08 2018 +0200

    scanner.l: fix a few implicit conversion warnings
    
      LEX      src/liboconfig/scanner.c
      CC       src/liboconfig/liboconfig_la-scanner.lo
    src/liboconfig/scanner.l:113:12: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
            int len = strlen (yytext);
                ~~~   ^~~~~~~~~~~~~~~
    src/liboconfig/scanner.l:129:12: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
            int len = strlen (yytext);
                ~~~   ^~~~~~~~~~~~~~~

commit f8322f27a5cfa8dbd890e3656b77ae77758c45c7
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu May 31 16:35:38 2018 +0200

    virt plugin: fix implicit conversion warning
    
    src/virt.c:2656:41: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
      n = strlen(domname) + strlen(devpath) + 2;
        ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~

commit 027571a0a8bb157bb3fae85e7bf000ff414cb5cf
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu May 31 16:08:55 2018 +0200

    wireless plugin: fix implicit conversion warning
    
      CC       src/wireless.lo
    src/wireless.c:106:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
        len = strlen(fields[0]) - 1;
            ~ ~~~~~~~~~~~~~~~~~~^~~
    1 warning generated.

commit ec93698458723f85ea218be947512cf98b3f9be0
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu May 31 16:01:41 2018 +0200

    Remove unused asubst function




More information about the collectd-changes mailing list