Merge pull request #3359 from Stackdriver/igorpeshansky-upstream-read_text_file_contents2020-01-07T13:53:17ZMatthias Rungemrunge@redhat.comGitHubnoreply@github.com2020-01-07T13:53:17Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=5ebc182261321f0781f38d8645bfc7c74353434c
Merge pull request #3359 from Stackdriver/igorpeshansky-upstream-read_text_file_contents
Factor out read_text_file_contents to ensure that data read from text files is a valid C string.
Fix unreachable clause where both tmp_plugin and tmp_plugin_instance are non-empty.2019-11-27T21:32:39ZLing Huanglingshi@google.comLing Huanglingshi@google.com2019-11-27T21:32:39Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=883b41f5af2fc46d2d08e8dd23308d8d263e2c22
Fix unreachable clause where both tmp_plugin and tmp_plugin_instance are non-empty.
Factor out read_text_file_contents to ensure that data read from text files is a... 2019-12-19T17:12:14ZIgor Peshanskyigorp@google.comIgor Peshanskyigorp@google.com2019-12-19T17:12:14Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=f7ba1418d1e2f18a53c19d28bb1be71f8f2b5c64
Factor out read_text_file_contents to ensure that data read from text files is a valid C string.
Remove grpc from Mac builds for now2019-12-17T11:53:53ZMatthias Rungemrunge@redhat.comMatthias Rungemrunge@redhat.com2019-12-17T11:53:53Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=e95e850a1688e6bee4ee87b27f92f2a4ffaf7a91
network: Add missing freeaddrinfo on error path.2019-12-04T15:33:55ZRyan McCabermccabe@redhat.comRyan McCabermccabe@redhat.com2019-12-04T15:33:55Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=de407dd4e036f73e9bd4658af9d71f504fc11109
network: Add missing freeaddrinfo on error path.
Add a missing freeaddrinfo on an error path to fix a memory leak
in the network code.
Changelog: network: Fix memory leak.
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
amqp1: Fix leaks on error paths2019-12-04T15:32:15ZRyan McCabermccabe@redhat.comRyan McCabermccabe@redhat.com2019-12-04T15:32:15Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=f22e31f058941a4d3f72a98d4d24264c07afd080
amqp1: Fix leaks on error paths
Fix a few memory leaks on error paths in the amqp1 plugin.
ChangeLog: amqp1 plugin: Fix leaks on error paths.
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
Fix linking with Python 3.82019-11-16T14:53:32ZAlexander MeshcheryakovSelf-Perfection@users.noreply.github.comGitHubnoreply@github.com2019-11-16T14:53:32Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=071af20ddcde3b58ddceacfd6eb95b6756af4323
Fix linking with Python 3.8
Since Python 3.8 --embed flag needs to be provided to python-config to embed python.
Reference: https://bugs.python.org/issue36721
This was partially addressed in #3170 but only fixed building and not linking with python.
Avoid using sysctl on linux & allow for OpenBSD case2019-11-09T12:41:38ZZebity Springzebity@yahoo.comZebity Springzebity@yahoo.com2019-11-09T12:41:38Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=4a2ec3e0f8dcc94ca9f05bfd0b02645c309e4430
Avoid using sysctl on linux & allow for OpenBSD case
Avoid using sysctl on linux2019-11-09T12:05:22ZZebity Springzebity@yahoo.comZebity Springzebity@yahoo.com2019-11-09T12:05:22Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=270cadc40a1e935c7d126a70ea58f7d1c2144d7d
Avoid using sysctl on linux2019-11-09T11:43:36ZZebity Springzebity@yahoo.comZebity Springzebity@yahoo.com2019-11-09T11:43:36Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=d748379ea585d52338913a6ba589842ae05ab78a