Your message dated Sat, 10 Feb 2007 17:45:43 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#401246: listadmin: *_if_subject doesn't work due to write
eating $subject
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: listadmin
Version: 2.32-1
Tags: patch
listadmin's *_if_subject options do not work, because perl's "write" eats
$subject. The attached patch fixes this problem.
- Josh Triplett and Jamey Sharp
--- /usr/bin/listadmin 2006-11-26 11:09:44.000000000 -0800
+++ listadmin 2006-12-01 17:58:34.000000000 -0800
@@ -253,6 +253,8 @@
$reason = $info->{$id}{"reason"};
$spamscore = $info->{$id}{"spamscore"};
write;
+ # write modifies $subject, so reinitialise it
+ $subject = $info->{$id}{"subject"} || "";
while (1) {
my $ans;
@@ -375,8 +377,8 @@
print mailman_url($list, $config->{adminurl}), "\n";
} elsif ($ans eq ".") {
# write modifies $subject, so reinitialise it
- $subject = $info->{$id}{"subject"} || "";
write;
+ $subject = $info->{$id}{"subject"} || "";
} elsif ($ans eq "") {
# nothing.
} else {
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Am Sonntag, den 21.01.2007, 21:16 +0100 schrieb Kjetil Torgrim Homme:
> > listadmin's *_if_subject options do not work, because perl's "write" eats
> > $subject. The attached patch fixes this problem.
>
> sorry about the lack of response, I missed the report since I was only
> Bcc-d. in any case, the newest release of listadmin (2.36) no longer
> uses "write" since it is inhererently broken with regards to multibyte
> characters.
Thanks for the information.
2.36 is available in Debian sid, so I'm closing this report.
--
Noèl Köthe <noel debian.org>
Debian GNU/Linux, www.debian.org
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
--- End Message ---