V4: uuencoded files patch

Julian Field mailscanner at ecs.soton.ac.uk
Mon Oct 14 20:07:03 IST 2002


At 18:28 14/10/2002, you wrote:
>Julian Field wrote:
> >
> > Well spotted. Fix will be included in the next V4 release.
> > In the mean time, it's a tiny change to Message.pm:
> >
> > 1335c1335,1338
> >
> <
> $global::MS->{mta}->AddHeadersToQf($this,$this->{entity}->stringify_header);
> > ---
> > >   # Used to do next line but it breaks text-only messages with no MIME
> > >   # structure as the MIME explosion will have created a MIME structure.
> > >
> #$global::MS->{mta}->AddHeadersToQf($this,$this->{entity}->stringify_header);
> > >   $global::MS->{mta}->AddHeadersToQf($this);
>
>I am not much of a patch guru, but is "1335c1335,1338" correct?  I see
>the second line of your patch at line 1325
>(MailScanner-4.00.0a13-1/bin/MailScanner/Message.pm).  I changed 1325
>(1325c1325,1328) to what is in the patch, and things work as expected.

The code might have changed a little between your version and my version,
so the line numbers are a but out. The "patch" command that manages to cope
with all this (and worse!) is often described as more of a life-form than a
program. :)
--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list