pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/zabbix I'm sorry, should call res_ndestroy() ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/303b7e555137
branches: trunk
changeset: 371733:303b7e555137
user: he <he%pkgsrc.org@localhost>
date: Mon Nov 20 08:09:46 2017 +0000
description:
I'm sorry, should call res_ndestroy() instead of res_nclose() to
avoid an fd leak.
Bump PKGREVISION.
diffstat:
sysutils/zabbix/Makefile | 4 ++--
sysutils/zabbix/distinfo | 4 ++--
sysutils/zabbix/patches/patch-src_libs_zbxsysinfo_common_net.c | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diffs (48 lines):
diff -r 77accf48ca97 -r 303b7e555137 sysutils/zabbix/Makefile
--- a/sysutils/zabbix/Makefile Mon Nov 20 04:54:18 2017 +0000
+++ b/sysutils/zabbix/Makefile Mon Nov 20 08:09:46 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2017/11/16 12:50:34 he Exp $
+# $NetBSD: Makefile,v 1.6 2017/11/20 08:09:46 he Exp $
-# PKGREVISION= 1
+PKGREVISION= 1
.include "Makefile.common"
COMMENT= Enterprise-class Monitoring Solution for Everyone
diff -r 77accf48ca97 -r 303b7e555137 sysutils/zabbix/distinfo
--- a/sysutils/zabbix/distinfo Mon Nov 20 04:54:18 2017 +0000
+++ b/sysutils/zabbix/distinfo Mon Nov 20 08:09:46 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2017/11/16 12:50:34 he Exp $
+$NetBSD: distinfo,v 1.6 2017/11/20 08:09:46 he Exp $
SHA1 (zabbix-3.2.10.tar.gz) = 18b99e4df74009a9971d600ea785d4429b312f26
RMD160 (zabbix-3.2.10.tar.gz) = d8b5f4e19480d58adcf9918b0d7bdd9adee52471
@@ -6,7 +6,7 @@
Size (zabbix-3.2.10.tar.gz) = 16089723 bytes
SHA1 (patch-frontends_php_locale_add__new__language.sh) = c187e2b4ae8dd9e409f5c32469cb7b0f02647d8b
SHA1 (patch-frontends_php_locale_make__mo.sh) = 2f0aaa63e80fcd5d4fa8c507fd764f80070b7864
-SHA1 (patch-src_libs_zbxsysinfo_common_net.c) = 235abaa1c93e6a2953fdec765f01de846ee4572b
+SHA1 (patch-src_libs_zbxsysinfo_common_net.c) = 29d0d81b100eb65ea6e96dde08f930e3b834fb3c
SHA1 (patch-src_zabbix__agent_Makefile.in) = a591c3e831eb34dc10cb5b1078891b5cad53b756
SHA1 (patch-src_zabbix__proxy_Makefile.in) = 535eccd707a8947903fbec41028b127a3bbbeffc
SHA1 (patch-src_zabbix__server_Makefile.in) = d297b8c4a940867d0a3eaff7bcb3b178a87dfd49
diff -r 77accf48ca97 -r 303b7e555137 sysutils/zabbix/patches/patch-src_libs_zbxsysinfo_common_net.c
--- a/sysutils/zabbix/patches/patch-src_libs_zbxsysinfo_common_net.c Mon Nov 20 04:54:18 2017 +0000
+++ b/sysutils/zabbix/patches/patch-src_libs_zbxsysinfo_common_net.c Mon Nov 20 08:09:46 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_libs_zbxsysinfo_common_net.c,v 1.1 2017/11/16 11:01:12 he Exp $
+$NetBSD: patch-src_libs_zbxsysinfo_common_net.c,v 1.2 2017/11/20 08:09:46 he Exp $
Can't portably use _res in a threaded program(!)
Convert to using res_nsend().
@@ -69,7 +69,7 @@
- _res.nscount = saved_nscount;
- }
+ res = res_nsend(&res_state, buf, res, answer.buffer, sizeof(answer.buffer));
-+ res_nclose(&res_state);
++ res_ndestroy(&res_state);
hp = (HEADER *)answer.buffer;
Home |
Main Index |
Thread Index |
Old Index