Bug 603040

Summary: file cannot recognize C header files
Product: [Fedora] Fedora Reporter: Jan Kaluža <jkaluza>
Component: fileAssignee: Jan Kaluža <jkaluza>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: jkaluza, mmalik, ovasik
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: file-5.04-9.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 594636
: 610067 (view as bug list) Environment:
Last Closed: 2010-06-18 05:06:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 594636    
Bug Blocks: 610067    

Description Jan Kaluža 2010-06-11 11:57:44 UTC
+++ This bug was initially created as a clone of Bug #594636 +++

Description of problem:
Some .h 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):
file-5.04-4.el6.i686
glib2-devel-2.22.5-2.el6.i686

How reproducible:
always

Steps to Reproduce:
# rpm -ql glib2-devel | grep '\.h$' | xargs file | grep exported
/usr/include/gio-unix-2.0/gio/gunixmounts.h:          exported SGML document text
/usr/include/glib-2.0/gio/gappinfo.h:                 exported SGML document text
/usr/include/glib-2.0/gio/gfile.h:                    exported SGML document text
/usr/include/glib-2.0/gio/gfileattribute.h:           exported SGML document text
/usr/include/glib-2.0/gio/gicon.h:                    exported SGML document text
/usr/include/glib-2.0/gio/gsocketaddressenumerator.h: exported SGML document text
/usr/include/glib-2.0/gio/gsocketconnectable.h:       exported SGML document text
/usr/include/glib-2.0/gobject/gclosure.h:             exported SGML document text
/usr/include/glib-2.0/gobject/gtypemodule.h:          exported SGML document text

  
Actual results:


Expected results:

Comment 1 Jan Kaluža 2010-06-18 05:05:50 UTC
Committed in CVS, fixed in file-5.04-9.fc14.