You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2005/10/30 21:40:27 UTC

svn commit: r329633 - /spamassassin/trunk/masses/rule-qa/rule-hits-over-time

Author: jm
Date: Sun Oct 30 12:40:27 2005
New Revision: 329633

URL: http://svn.apache.org/viewcvs?rev=329633&view=rev
Log:
temp files, CGI and what-not again

Modified:
    spamassassin/trunk/masses/rule-qa/rule-hits-over-time

Modified: spamassassin/trunk/masses/rule-qa/rule-hits-over-time
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/masses/rule-qa/rule-hits-over-time?rev=329633&r1=329632&r2=329633&view=diff
==============================================================================
--- spamassassin/trunk/masses/rule-qa/rule-hits-over-time (original)
+++ spamassassin/trunk/masses/rule-qa/rule-hits-over-time Sun Oct 30 12:40:27 2005
@@ -327,7 +327,7 @@
 sub plot_gp {
   if (!$opt_text)
   {
-    open (DATA, ">plot.data") or die;
+    open (DATA, ">$tmpdir/plot.data") or die;
     foreach my $line (@{$graph_data}) {
       my $tt = shift @$line;
       print DATA fmt_time_t($tt)," ",join(' ', @$line),"\n";
@@ -341,7 +341,7 @@
       my $col = $i+2;
 
       push @plot,
-        qq{ 'plot.data' using }.
+        qq{ '$tmpdir/plot.data' using }.
 
             # to plot "undefined" values as 0
             # qq{ 1:(\$$col >= 0 ? \$$col : 0) }.