Description of problem: "file" reports some c++ source files as Lisp/Scheme program text Version-Release number of selected component (if applicable): file-5.03-2.fc11.x86_64 and file-5.03-2.fc11.i586 How reproducible: Always, on certain files. So far, I haven't found a pattern which are affected, but I am observing this bug on many files. Steps to Reproduce: 1. file <*>.cpp Actual results: # file SbClip.cpp SbClip.cpp: Lisp/Scheme program text Expected results: Correct results, "ASCII English text", "ASCI C program text" or similar Additional info: This breaks applying "file" to check source files' encodings to conditionally convert them from ISO* to utf-8, e.g. when building rpms. This affects building rpms as part of Fedora and is causing mis-built packages.
Created attachment 362907 [details] File exposing this bug
this was already fixed in rawhide (see bug 510429) I can push the fix also to F11
file-5.03-3.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/file-5.03-3.fc11
file-5.03-3.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.