diff options
Diffstat (limited to 'security/amavis-perl/files/patch-ab')
-rw-r--r-- | security/amavis-perl/files/patch-ab | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/security/amavis-perl/files/patch-ab b/security/amavis-perl/files/patch-ab new file mode 100644 index 000000000000..f803e1b9f04e --- /dev/null +++ b/security/amavis-perl/files/patch-ab @@ -0,0 +1,20 @@ +--- amavis/amavis.in.orig Sun Dec 31 15:16:34 2000 ++++ amavis/amavis.in Sun Dec 31 15:24:31 2000 +@@ -414,7 +414,7 @@ + do_exit($REGERR, __LINE__); + } + +- my $filetype = `$file -b $TEMPDIR/parts/$part`; ++ my $filetype = `$file $TEMPDIR/parts/$part`; + chop $filetype; + do_debug("File-type of $part: $filetype\n"); + +@@ -609,7 +609,7 @@ + } + + # older versions of file report tnef files as data +- if ($filetype =~ /^data$/) { ++ if ($filetype =~ /:\sdata$/) { + # may be tnef + + # checked already? |