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: Sun Nov 20 22:11:28 UTC 2016
Modified Files:
pkgsrc/sysutils/collectd: distinfo
Added Files:
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.28 -r1.29 pkgsrc/sysutils/collectd/distinfo
cvs rdiff -u -r0 -r1.1 \
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.28 pkgsrc/sysutils/collectd/distinfo:1.29
--- pkgsrc/sysutils/collectd/distinfo:1.28 Thu Oct 13 15:17:28 2016
+++ pkgsrc/sysutils/collectd/distinfo Sun Nov 20 22:11:28 2016
@@ -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) = e00d2edf6
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
Added files:
Index: pkgsrc/sysutils/collectd/patches/patch-src_utils__format__kairosdb.c
diff -u /dev/null pkgsrc/sysutils/collectd/patches/patch-src_utils__format__kairosdb.c:1.1
--- /dev/null Sun Nov 20 22:11:28 2016
+++ pkgsrc/sysutils/collectd/patches/patch-src_utils__format__kairosdb.c Sun Nov 20 22:11:28 2016
@@ -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;
Home |
Main Index |
Thread Index |
Old Index