4 use Debbugs::MIME qw(decode_rfc1522 encode_rfc1522 getmailbody);
5 use Debbugs::Packages qw(:all);
6 use Debbugs::Common qw(:all);
7 use Debbugs::Status qw(:all);
10 sub unlockreadbugmerge {
12 &unfilelock if $rv >= 2;
13 &unfilelock if $rv >= 1;
16 %saniarray= ('<','lt', '>','gt', '&','amp', '"','quot');
20 carp "You should be using HTML::Entities instead.";
21 $in =~ s/([<>&"])/\&$saniarray{$1};/g;
28 map { Mail::Address->parse($_) } @_;
31 @severities= grep { not exists $gObsoleteSeverities{$_} } @gSeverityList;
32 @showseverities= @severities;
33 grep ($_= $_ eq '' ? $gDefaultSeverity : $_, @showseverities);
34 %displayshowseverities= %gSeverityDisplay;
37 if (defined $gFowardList and not defined $gForwardList) {
38 $gForwardList = $gFowardList;