pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/collectd



Module Name:    pkgsrc
Committed By:   joerg
Date:           Sat Dec 24 10:16:07 UTC 2016

Modified Files:
        pkgsrc/sysutils/collectd: distinfo
        pkgsrc/sysutils/collectd/patches: patch-src_utils__format__kairosdb.c

Log Message:
Fix ctype.h use.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/sysutils/collectd/distinfo
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/sysutils/collectd/patches/patch-src_utils__format__kairosdb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/collectd/distinfo
diff -u pkgsrc/sysutils/collectd/distinfo:1.30 pkgsrc/sysutils/collectd/distinfo:1.31
--- pkgsrc/sysutils/collectd/distinfo:1.30      Wed Dec  7 17:28:39 2016
+++ pkgsrc/sysutils/collectd/distinfo   Sat Dec 24 10:16:07 2016
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.30 2016/12/07 17:28:39 fhajny Exp $
+$NetBSD: distinfo,v 1.31 2016/12/24 10:16:07 joerg Exp $
 
 SHA1 (collectd-5.6.2.tar.bz2) = 358b53ac5e0b00532d74bd40eb2658c6772d1458
 RMD160 (collectd-5.6.2.tar.bz2) = 81818c24db06f7a8922dc24e7be8cbf5d86e050c
@@ -21,4 +21,4 @@ SHA1 (patch-src_processes.c) = 9a1a7a694
 SHA1 (patch-src_swap.c) = 24da6e04e3006639311e8111f26f72e4fab4054a
 SHA1 (patch-src_tcpconns.c) = b85de1d0eb03989df12d9688b38d61733a13c028
 SHA1 (patch-src_utils__dns.c) = 138a3168dc109d785412ffd068edab3b4dacca36
-SHA1 (patch-src_utils__format__kairosdb.c) = 1b82ee092f8188a27645bcd67c811f0d31d54b70
+SHA1 (patch-src_utils__format__kairosdb.c) = db5d13e6bbbe5adc07cd8a26ec78902cd3503bec

Index: pkgsrc/sysutils/collectd/patches/patch-src_utils__format__kairosdb.c
diff -u pkgsrc/sysutils/collectd/patches/patch-src_utils__format__kairosdb.c:1.2 pkgsrc/sysutils/collectd/patches/patch-src_utils__format__kairosdb.c:1.3
--- pkgsrc/sysutils/collectd/patches/patch-src_utils__format__kairosdb.c:1.2    Wed Dec  7 17:28:39 2016
+++ pkgsrc/sysutils/collectd/patches/patch-src_utils__format__kairosdb.c        Sat Dec 24 10:16:07 2016
@@ -1,13 +1,13 @@
-$NetBSD: patch-src_utils__format__kairosdb.c,v 1.2 2016/12/07 17:28:39 fhajny Exp $
+$NetBSD: patch-src_utils__format__kairosdb.c,v 1.3 2016/12/24 10:16:07 joerg Exp $
 
---- src/utils_format_kairosdb.c.orig   2016-11-30 08:52:01.332909704 +0000
+--- src/utils_format_kairosdb.c.orig   2016-11-30 08:52:01.000000000 +0000
 +++ src/utils_format_kairosdb.c
 @@ -80,9 +80,9 @@ static int kairosdb_escape_string(char *
    /* authorize -_. and alpha num but also escapes " */
    BUFFER_ADD('"');
    for (size_t src_pos = 0; string[src_pos] != 0; src_pos++) {
 -    if (isalnum(string[src_pos]) || 0x2d == string[src_pos] ||
-+    if ((unsigned char)isalnum(string[src_pos]) || 0x2d == string[src_pos] ||
++    if (isalnum((unsigned char)string[src_pos]) || 0x2d == string[src_pos] ||
          0x2e == string[src_pos] || 0x5f == string[src_pos])
 -      BUFFER_ADD(tolower(string[src_pos]));
 +      BUFFER_ADD(tolower((unsigned char)string[src_pos]));



Home | Main Index | Thread Index | Old Index