Anybody got a working cleanfeed under -CURRENT?

Russ Allbery rra at stanford.edu
Thu Jun 22 09:06:03 UTC 2000


Jaye Mathisen <mrcpu at internetcds.com> writes:

> Mine is compiled with --with-perl, but the cleanfeed filter is dying
> with "Error modifying a read-only value", blah blah.

> My cleanfeed is from December or so, and it's working fine under my 2.2
> box.

> Jun 21 23:30:02 newsfeed-inn2 innd: Perl function filter_art
> died: Modification of a read-only value attempted at
> /news/bin/filter/filter_innd.pl line 572. 

> newsfeed-inn2# cat -n /news/bin/filter/filter_innd.pl | grep 572
>    572          $lines = $hdr{'__BODY__'} =~ tr/\n/\n/;

Replace it with:

   $lines = $hdr{'__LINES__'};

Known problem; bad interaction between the way Cleanfeed used to get a
line count and an optimization introduced in the 2.3 code base.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the inn-workers mailing list