Bug 603040 - file cannot recognize C header files
Summary: file cannot recognize C header files
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: file
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jan Kaluža
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 594636
Blocks: 610067
TreeView+ depends on / blocked
 
Reported: 2010-06-11 11:57 UTC by Jan Kaluža
Modified: 2010-07-01 13:48 UTC (History)
3 users (show)

Fixed In Version: file-5.04-9.fc14
Clone Of: 594636
: 610067 (view as bug list)
Environment:
Last Closed: 2010-06-18 05:06:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.