INN commit: trunk (CONTRIBUTORS scripts/scanlogs.in)

INN Commit rra at isc.org
Wed Nov 11 10:34:53 UTC 2009


    Date: Wednesday, November 11, 2009 @ 02:34:53
  Author: iulius
Revision: 8736

This patch cleans up a little cruft (${T}, ${PROBS}) left in scanlogs
since its rewrite by Gary Palmer in September 1997.

Thanks to Florian Schlichting for this patch.

Modified:
  trunk/CONTRIBUTORS
  trunk/scripts/scanlogs.in

---------------------+
 CONTRIBUTORS        |    2 +-
 scripts/scanlogs.in |    7 +------
 2 files changed, 2 insertions(+), 7 deletions(-)

Modified: CONTRIBUTORS
===================================================================
--- CONTRIBUTORS	2009-11-10 23:42:19 UTC (rev 8735)
+++ CONTRIBUTORS	2009-11-11 10:34:53 UTC (rev 8736)
@@ -271,4 +271,4 @@
 David Hlacik, Andreas Mattheiss, James Ralston, Wim Lewis, Johan van Selst,
 Wolfgang M. Weyand, Berend Reitsma, William Kronert, Petr Novopashenniy,
 Steve Crook, John F. Morse, Tim Woodall, Jonathan Kamens, Kamil Jonca,
-S.P. Zeidler, Nix
+S.P. Zeidler, Nix, Florian Schlichting

Modified: scripts/scanlogs.in
===================================================================
--- scripts/scanlogs.in	2009-11-10 23:42:19 UTC (rev 8735)
+++ scripts/scanlogs.in	2009-11-11 10:34:53 UTC (rev 8736)
@@ -92,11 +92,6 @@
     test ! -f ${F} && touch ${F}
 done
 
-##  Temporary files.
-T=${TMPDIR}/scan$$
-PROBS=${TMPDIR}/scanlog$$
-trap "rm -f ${T} ${PROBS}; exit 0" 0 1 2 3 15
-
 ##  Rotate the logs?
 if ${ROTATE} ; then
     ##  Lock out others.
@@ -104,7 +99,7 @@
 	echo "$0: Locked by `cat ${LOCK}`"
 	exit 1
     }
-    trap "rm -f ${T} ${PROBS} ${LOCK}; exit 0" 1 2 3 15
+    trap "rm -f ${LOCK}; exit 0" 1 2 3 15
 
     HERE=`pwd`
     cd ${MOST_LOGS}




More information about the inn-committers mailing list