Bug 594605

Summary: file cannot recognize perl modules and perl documentation
Product: Red Hat Enterprise Linux 6 Reporter: Milos Malik <mmalik>
Component: fileAssignee: Jan Kaluža <jkaluza>
Status: CLOSED CURRENTRELEASE QA Contact: Milos Malik <mmalik>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: ovasik
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: file-5.04-5.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-10 20:23:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
Fix for regressions none

Description Milos Malik 2010-05-21 07:09:24 UTC
Description of problem:
Some .pm and .pod files are not correctly recognized by file. I believe it's a regression because file-5.03-12.el6 recognizes them correctly.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
* pick any of these files and run file on it

Actual results:
you will see messages like "HTML document text"

Expected results:
you will see messages like "Perl5 module source text" or "Perl POD document text"

Comment 3 Jan Kaluža 2010-06-11 10:55:40 UTC
Created attachment 423237 [details]
Fix for regressions

Attached patch fixes regressions in file-5.0.4 which are causing described
problem. It basically removes excessive HTML/SGML "magic patterns".

Comment 6 Jan Kaluža 2010-06-11 11:44:26 UTC
Commited to CVS, fixed in version file-5.04-5.el6.


Comment 8 releng-rhel@redhat.com 2010-11-10 20:23:14 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.