diff --git a/net-snmp-5.1-mktemp.diff b/net-snmp-5.1-mktemp.diff deleted file mode 100644 index d233f71..0000000 --- a/net-snmp-5.1-mktemp.diff +++ /dev/null @@ -1,20 +0,0 @@ ---- local/fixproc -+++ local/fixproc -@@ -231,7 +231,7 @@ - { - # it must be "shell", so execute the shell script defined in database - -- local ($tmpfile) = "/tmp/fix_$$"; -+ local ($tmpfile) = `mktemp /tmp/fix.XXXXXXXX`; - - &create_sh_script ($fix{$proc}, $tmpfile); - -@@ -262,7 +262,7 @@ - # if not "exist", then it must be "shell", so execute the shell script - # defined in database - -- local ($tmpfile) = "/tmp/check_$$"; -+ local ($tmpfile) = `mktemp /tmp/check.XXXXXXXX`; - - &create_sh_script ($check{$proc}, $tmpfile); -