[Pkg-net-snmp-commits] r219 - branches/net-snmp54-dev/debian/patches trunk/debian/patches
anders-guest at alioth.debian.org
anders-guest at alioth.debian.org
Sun Jan 20 22:45:37 UTC 2008
Author: anders-guest
Date: 2008-01-20 22:45:37 +0000 (Sun, 20 Jan 2008)
New Revision: 219
Removed:
branches/net-snmp54-dev/debian/patches/41_snmptrapd_close_handles.README
branches/net-snmp54-dev/debian/patches/41_snmptrapd_close_handles.patch
trunk/debian/patches/41_snmptrapd_close_handles.README
trunk/debian/patches/41_snmptrapd_close_handles.patch
Log:
patch 41_snmptrapd_close_handles has been applied upstream in SVN Rev. 16652
Deleted: branches/net-snmp54-dev/debian/patches/41_snmptrapd_close_handles.README
===================================================================
--- branches/net-snmp54-dev/debian/patches/41_snmptrapd_close_handles.README 2007-12-28 14:31:07 UTC (rev 218)
+++ branches/net-snmp54-dev/debian/patches/41_snmptrapd_close_handles.README 2008-01-20 22:45:37 UTC (rev 219)
@@ -1 +0,0 @@
-Close all non standard file handles in snmptrapd.c (copied from snmpd.c)
Deleted: branches/net-snmp54-dev/debian/patches/41_snmptrapd_close_handles.patch
===================================================================
--- branches/net-snmp54-dev/debian/patches/41_snmptrapd_close_handles.patch 2007-12-28 14:31:07 UTC (rev 218)
+++ branches/net-snmp54-dev/debian/patches/41_snmptrapd_close_handles.patch 2008-01-20 22:45:37 UTC (rev 219)
@@ -1,19 +0,0 @@
---- net-snmp-5.3.1/apps/snmptrapd.c.orig 2007-07-06 17:02:00.000000000 +0200
-+++ net-snmp-5.3.1/apps/snmptrapd.c 2007-07-31 16:45:38.000000000 +0200
-@@ -596,6 +596,16 @@
- #endif
- netsnmp_trapd_handler *traph;
-
-+#ifndef WIN32
-+ /*
-+ * close all non-standard file descriptors we may have
-+ * inherited from the shell.
-+ */
-+ for (i = getdtablesize() - 1; i > 2; --i) {
-+ (void) close(i);
-+ }
-+#endif /* #WIN32 */
-+
- #ifdef SIGTERM
- signal(SIGTERM, term_handler);
- #endif
Deleted: trunk/debian/patches/41_snmptrapd_close_handles.README
===================================================================
--- trunk/debian/patches/41_snmptrapd_close_handles.README 2007-12-28 14:31:07 UTC (rev 218)
+++ trunk/debian/patches/41_snmptrapd_close_handles.README 2008-01-20 22:45:37 UTC (rev 219)
@@ -1 +0,0 @@
-Close all non standard file handles in snmptrapd.c (copied from snmpd.c)
Deleted: trunk/debian/patches/41_snmptrapd_close_handles.patch
===================================================================
--- trunk/debian/patches/41_snmptrapd_close_handles.patch 2007-12-28 14:31:07 UTC (rev 218)
+++ trunk/debian/patches/41_snmptrapd_close_handles.patch 2008-01-20 22:45:37 UTC (rev 219)
@@ -1,19 +0,0 @@
---- net-snmp-5.3.1/apps/snmptrapd.c.orig 2007-07-06 17:02:00.000000000 +0200
-+++ net-snmp-5.3.1/apps/snmptrapd.c 2007-07-31 16:45:38.000000000 +0200
-@@ -596,6 +596,16 @@
- #endif
- netsnmp_trapd_handler *traph;
-
-+#ifndef WIN32
-+ /*
-+ * close all non-standard file descriptors we may have
-+ * inherited from the shell.
-+ */
-+ for (i = getdtablesize() - 1; i > 2; --i) {
-+ (void) close(i);
-+ }
-+#endif /* #WIN32 */
-+
- #ifdef SIGTERM
- signal(SIGTERM, term_handler);
- #endif
More information about the Pkg-net-snmp-commits
mailing list