Bug#827597: The error is not bound to the compatibility interface

Henrik Christian Grove debian at 3001.dk
Sat Jun 18 12:28:34 UTC 2016


Using the same files, and the syntax from the SYNOPSIS section of the
man page:


grove at mary> perl -E 'use File::MMagic::XS; my $m =
File::MMagic::XS->new(); say $m->get_mime("1-wrong.html")'
text/plain
grove at mary> perl -E 'use File::MMagic::XS; my $m =
File::MMagic::XS->new(); say $m->get_mime("2-wrong.html")'
text/plain
grove at mary> perl -E 'use File::MMagic::XS; my $m =
File::MMagic::XS->new(); say $m->get_mime("2-1.html")' 
text/html
grove at mary> perl -E 'use File::MMagic::XS; my $m =
File::MMagic::XS->new(); say $m->get_mime("2-2.html")'
text/html
grove at mary> perl -E 'use File::MMagic::XS; my $m =
File::MMagic::XS->new(); say $m->get_mime("2-3.html")'
text/html
grove at mary> perl -E 'use File::MMagic::XS; my $m =
File::MMagic::XS->new(); say $m->get_mime("2-4.html")'
text/html
grove at mary> perl -E 'use File::MMagic::XS; my $m =
File::MMagic::XS->new("/etc/magic"); say $m->get_mime("1-wrong.html")'
text/plain
grove at mary> perl -E 'use File::MMagic::XS; my $m =
File::MMagic::XS->new("/etc/magic"); say $m->get_mime("2-wrong.html")'
text/plain
grove at mary> perl -E 'use File::MMagic::XS; my $m =
File::MMagic::XS->new("/etc/magic"); say $m->get_mime("2-1.html")'   
text/html
grove at mary> perl -E 'use File::MMagic::XS; my $m =
File::MMagic::XS->new("/etc/magic"); say $m->get_mime("2-2.html")'
text/html
grove at mary> perl -E 'use File::MMagic::XS; my $m =
File::MMagic::XS->new("/etc/magic"); say $m->get_mime("2-3.html")'
text/html
grove at mary> perl -E 'use File::MMagic::XS; my $m =
File::MMagic::XS->new("/etc/magic"); say $m->get_mime("2-4.html")'
text/html



More information about the pkg-perl-maintainers mailing list