pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/collectd Fix ctype.h use.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e8fe0a9ce98e
branches: trunk
changeset: 356258:e8fe0a9ce98e
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Dec 24 10:16:07 2016 +0000
description:
Fix ctype.h use.
diffstat:
sysutils/collectd/distinfo | 4 ++--
sysutils/collectd/patches/patch-src_utils__format__kairosdb.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r 453eb9491c84 -r e8fe0a9ce98e sysutils/collectd/distinfo
--- a/sysutils/collectd/distinfo Sat Dec 24 05:07:19 2016 +0000
+++ b/sysutils/collectd/distinfo Sat Dec 24 10:16:07 2016 +0000
@@ -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_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
diff -r 453eb9491c84 -r e8fe0a9ce98e sysutils/collectd/patches/patch-src_utils__format__kairosdb.c
--- a/sysutils/collectd/patches/patch-src_utils__format__kairosdb.c Sat Dec 24 05:07:19 2016 +0000
+++ b/sysutils/collectd/patches/patch-src_utils__format__kairosdb.c Sat Dec 24 10:16:07 2016 +0000
@@ -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