]> git.pld-linux.org Git - packages/spamassassin.git/commitdiff
- patches auto/th/spamassassin-3.4.1-8
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 14 Jan 2018 22:36:37 +0000 (23:36 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 14 Jan 2018 22:36:37 +0000 (23:36 +0100)
fix-uninitialized-concat [new file with mode: 0644]

diff --git a/fix-uninitialized-concat b/fix-uninitialized-concat
new file mode 100644 (file)
index 0000000..1c62c99
--- /dev/null
@@ -0,0 +1,25 @@
+Description: Import upstream fix for uninitialized value warning in Mail::SpamAssassin::PerMsgStatus::get_names_of_tests_hit_with_scores()
+Origin: https://svn.apache.org/viewvc?view=revision&revision=1685843
+Bug: https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7212
+Index: spamassassin-3.4.1/lib/Mail/SpamAssassin/PerMsgStatus.pm
+===================================================================
+--- spamassassin-3.4.1.orig/lib/Mail/SpamAssassin/PerMsgStatus.pm
++++ spamassassin-3.4.1/lib/Mail/SpamAssassin/PerMsgStatus.pm
+@@ -738,7 +738,7 @@ test names and individual scores of the
+ sub get_names_of_tests_hit_with_scores_hash {
+   my ($self) = @_;
+-  my ($line, %testsscores);
++  my (%testsscores);
+   #BASED ON CODE FOR TESTSSCORES TAG - KAM 2014-04-24
+   foreach my $test (@{$self->{test_names_hit}}) {
+@@ -763,6 +763,8 @@ sub get_names_of_tests_hit_with_scores {
+   my ($line, %testsscores);
++  $line = '';
++
+   #BASED ON CODE FOR TESTSSCORES TAG - KAM 2014-04-24
+   foreach my $test (sort @{$self->{test_names_hit}}) {
+     my $score = $self->{conf}->{scores}->{$test};
This page took 0.093658 seconds and 4 git commands to generate.