https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6820

--- Comment #2 from Kevin A. McGrail <[email protected]> ---
Adding this:

Index: /usr/src/Mail-SpamAssassin/trunk/build/mkupdates/listpromotable
===================================================================
--- /usr/src/Mail-SpamAssassin/trunk/build/mkupdates/listpromotable    
(revision 1353252)
+++ /usr/src/Mail-SpamAssassin/trunk/build/mkupdates/listpromotable    
(working copy)
@@ -210,7 +210,12 @@
     next if ($tfs =~ /\bnopublish\b/);

     if ($tfs =~ /\bpublish\b/) {
-      $notes = "tflags ".$1;
+      if (defined $1) {
+        $notes = "tflags ".$1;
+      } else {
+        #BUG 6820: What's this supposed to do because I don't see a
possibility that $1 is set
+        print "DEBUG: \$1 isn't defined - $tfs\n";
+      }
       goto publish;
     }
   }

svn commit /usr/src/Mail-SpamAssassin/trunk/build/mkupdates/listpromotable -m
'DEBUG for bug 6820'
Sending        /usr/src/Mail-SpamAssassin/trunk/build/mkupdates/listpromotable
Transmitting file data .
Committed revision 1370753.

Anyone have any idea what $1 is supposed to contain because I can't see what it
would possibly do?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to