Tags: patch
User: [email protected]
Usertags: origin-ubuntu karmic ubuntu-patch
I was experiencing the same bug in Ubuntu with slrn version
1.0.0~pre11-1 which is sync'ed from Debian. I'm not familiar with
s-lang but made the attached changes to the multipart.sl macro and
threading behaved much better for me.
--
Brian Murray @ubuntu.com
--- /usr/share/slrn/slang/multipart.sl 2009-06-15 13:43:00.000000000 -0700
+++ multipart.sl 2009-08-24 07:53:36.000000000 -0700
@@ -40,7 +40,7 @@ define subject_compare_hook ( subject1,
while (tmp > 0)
{
- pos1 = pos1 + 4 + tmp;
+ pos1 = tmp;
tmp = string_match(subject1, pattern, pos1 + 5);
}
@@ -48,7 +48,7 @@ define subject_compare_hook ( subject1,
tmp = string_match(subject2, pattern, pos2 + 5);
while (tmp > 0)
{
- pos2 = pos2 + 4 + tmp;
+ pos2 = tmp;
tmp = string_match(subject2, pattern, pos2 + 5);
}