+++ /dev/null
---- local/fixproc.orig 2005-05-18 09:57:16.000000000 -0400
-+++ local/fixproc 2005-05-18 11:00:38.000000000 -0400
-@@ -129,6 +129,9 @@
- #
- # Timothy Kong 3/1995
-
-+require File::Temp;
-+use File::Temp();
-+
- $database_file = '/local/etc/fixproc.conf';
-
- $debug = 0; # specify debug level using -dN
-@@ -196,7 +199,6 @@
- printf (stderr "create_sh_script\n") if ($debug > 0);
-
- $! = $fixproc_error;
-- open (file, ">"."$file") || die "$0: cannot open $file\n";
- while ( $shell_lines[$i] ne $shell_end_marker )
- {
- printf (file "%s", $shell_lines[$i]);
-@@ -231,13 +233,13 @@
- {
- # it must be "shell", so execute the shell script defined in database
-
-- local ($tmpfile) = "/tmp/fix_$$";
-+ local ($tmpfile) = new File::Temp(TEMPLATE => 'fix_XXXXX',
-+ DIR => '/tmp');
-
- &create_sh_script ($fix{$proc}, $tmpfile);
-
- # return code is number divided by 256
- $error_code = (system "$tmpfile") / 256;
-- system "rm $tmpfile";
- return ($fix_failed_error) if ($error_code != 0);
- # sleep needed here?
- return &do_exist ($proc);
-@@ -262,13 +264,13 @@
- # if not "exist", then it must be "shell", so execute the shell script
- # defined in database
-
-- local ($tmpfile) = "/tmp/check_$$";
-+ local ($tmpfile) = new File::Temp(TEMPLATE => 'check_XXXXXX',
-+ DIR => '/tmp');
-
- &create_sh_script ($check{$proc}, $tmpfile);
-
- # return code is number divided by 256
- $error_code = (system "$tmpfile") / 256;
-- system "rm $tmpfile";
- return ($check_failed_error) if ($error_code != 0);
-
- # check passed, continue
+++ /dev/null
---- net-snmp-5.1.1/agent/mibgroup/ucd-snmp/memory.c.old 2004-03-26 13:25:41.048612988 +0200
-+++ net-snmp-5.1.1/agent/mibgroup/ucd-snmp/memory.c 2004-03-26 13:26:43.672575121 +0200
-@@ -290,7 +290,7 @@
- if (b)
- sscanf(b, "MemShared: %lu", memshared);
- else {
-- snmp_log(LOG_ERR, "No MemShared line in /proc/meminfo\n");
-+ /* snmp_log(LOG_ERR, "No MemShared line in /proc/meminfo\n"); */
- *memshared = 0;
- }
- b = strstr(buff, "Buffers: ");