[Bug 716393] New: majordomo does not work with perl 5.12
https://bugzilla.novell.com/show_bug.cgi?id=716393 https://bugzilla.novell.com/show_bug.cgi?id=716393#c0 Summary: majordomo does not work with perl 5.12 Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: All OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: A.Thomas@cs.rhul.ac.uk QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0) Majordomo relies on split implicitely assigning to @_ which seems to have gone away sometime between Perl 5.10 and 5.12, since we encountered this problem after an openSUSE 11.2 to openSUSE 11.4 upgrade. Mail sent to lists using Majordomo is silently thrown away with no obvious clue in the logs. Patching as follows with a temporary array variable in place of @_ fixes the problem: --- majordomo.pl.DIST-11.4 2011-02-19 03:12:04.000000000 +0000 +++ majordomo.pl 2011-09-07 15:12:57.114627473 +0100 @@ -95,14 +95,14 @@ local($_) = shift; 1 while s/\([^\(\)]*\)//g; # strip comments 1 while s/"[^"]*"\s//g; # strip comments" - split(/,/); # split into parts - foreach (@_) { + my @t = split(/,/); # split into parts + foreach (@t) { 1 while s/.*<(.*)>.*/$1/; s/^\s+//; s/\s+$//; } - @_; + @t; } # Check to see if a list is valid. If it is, return the validated list Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=716393
https://bugzilla.novell.com/show_bug.cgi?id=716393#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=716393
https://bugzilla.novell.com/show_bug.cgi?id=716393#c1
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=716393
https://bugzilla.novell.com/show_bug.cgi?id=716393#c2
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=716393
https://bugzilla.novell.com/show_bug.cgi?id=716393#c3
--- Comment #3 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=716393
https://bugzilla.novell.com/show_bug.cgi?id=716393#c4
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=716393
https://bugzilla.novell.com/show_bug.cgi?id=716393#c5
Christian Dengler
https://bugzilla.novell.com/show_bug.cgi?id=716393
https://bugzilla.novell.com/show_bug.cgi?id=716393#c6
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=716393
https://bugzilla.novell.com/show_bug.cgi?id=716393#c7
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=716393
https://bugzilla.novell.com/show_bug.cgi?id=716393#c8
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=716393
https://bugzilla.novell.com/show_bug.cgi?id=716393#c9
--- Comment #9 from Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=716393
https://bugzilla.novell.com/show_bug.cgi?id=716393#c10
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=716393
https://bugzilla.novell.com/show_bug.cgi?id=716393#c11
--- Comment #11 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=716393
https://bugzilla.novell.com/show_bug.cgi?id=716393#c12
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=716393
https://bugzilla.novell.com/show_bug.cgi?id=716393#c
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com