diff options
author | joerg <joerg@pkgsrc.org> | 2016-11-20 22:11:28 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2016-11-20 22:11:28 +0000 |
commit | e5400d7eb4d049dc6b29f89901704f91cc465676 (patch) | |
tree | 4ff861e6b89b9a1cfeaaa8d765265e2600242812 /sysutils | |
parent | bb030e7a0a4847bcfcfd89f7570674fc3c647944 (diff) | |
download | pkgsrc-e5400d7eb4d049dc6b29f89901704f91cc465676.tar.gz |
Fix ctype.h use
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/collectd/distinfo | 3 | ||||
-rw-r--r-- | sysutils/collectd/patches/patch-src_utils__format__kairosdb.c | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/sysutils/collectd/distinfo b/sysutils/collectd/distinfo index f6faaba820a..cfff06953bc 100644 --- a/sysutils/collectd/distinfo +++ b/sysutils/collectd/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.28 2016/10/13 15:17:28 fhajny Exp $ +$NetBSD: distinfo,v 1.29 2016/11/20 22:11:28 joerg Exp $ SHA1 (collectd-5.6.1.tar.bz2) = 20b773928743b346e0962fc1dc37167390a16d80 RMD160 (collectd-5.6.1.tar.bz2) = 5247f6b4a0936ac9715189e16afe6f65bee94788 @@ -21,3 +21,4 @@ SHA1 (patch-src_processes.c) = e00d2edf6b4e6bfe3663e34fffb05f40652affe5 SHA1 (patch-src_swap.c) = 304a25324099495fb875127221ed5fc95173a164 SHA1 (patch-src_tcpconns.c) = 712af1b821d62217283df884dd283d5b1218ab7c SHA1 (patch-src_utils__dns.c) = c3782dc9127f42da30e3142b853aa2cb2259af94 +SHA1 (patch-src_utils__format__kairosdb.c) = 4fd05adcf0bf47ed94ce60aad5d7332279b06224 diff --git a/sysutils/collectd/patches/patch-src_utils__format__kairosdb.c b/sysutils/collectd/patches/patch-src_utils__format__kairosdb.c new file mode 100644 index 00000000000..06b497775d0 --- /dev/null +++ b/sysutils/collectd/patches/patch-src_utils__format__kairosdb.c @@ -0,0 +1,18 @@ +$NetBSD: patch-src_utils__format__kairosdb.c,v 1.1 2016/11/20 22:11:28 joerg Exp $ + +--- src/utils_format_kairosdb.c.orig 2016-11-19 12:00:24.000000000 +0000 ++++ src/utils_format_kairosdb.c +@@ -83,11 +83,11 @@ static int kairosdb_escape_string (char + BUFFER_ADD ('"'); + for (size_t src_pos = 0; string[src_pos] != 0; src_pos++) + { +- if (isalnum(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])); + } /* for */ + BUFFER_ADD ('"'); + buffer[dst_pos] = 0; |