Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 63094 - Upgrading to perl-5.6.1 breaks cleanfeed filter_innd.pl
Upgrading to perl-5.6.1 breaks cleanfeed filter_innd.pl
Product: Red Hat Linux
Classification: Retired
Component: cleanfeed (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Florian La Roche
Depends On:
  Show dependency treegraph
Reported: 2002-04-09 19:31 EDT by James Antill
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-04-09 19:31:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description James Antill 2002-04-09 19:31:10 EDT
Description of Problem:
 In perl 5.6.1 perl will error if you try to alter a read-only variable with tr
even if the text is the same as the source (Ie. "123" =~ tr/1/1/; is now an
error/exception). However this was (and still is) documented as a way to count
the number of characters of type X and cleanfeed (filter_innd.pl) uses this
idiom with a read-only variable on line 572.

Additional Information:

 Here is how I fixed cleanfeed...
{ my $tmp = $hdr{'__BODY__'};
        $lines = $tmp =~ tr/\n/\n/; }
# The tr doesn't work because __BODY__ is readonly
# $lines = $hdr{'__BODY__'} =~ tr/\n/\n/;
Comment 1 Florian La Roche 2002-04-15 15:56:55 EDT
This is already fixed in the current rpm.


Florian La Roche

Note You need to log in before you can comment on or make changes to this bug.