Description of problem:
"file" reports some c++ source files as
Lisp/Scheme program text
Version-Release number of selected component (if applicable):
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
# file SbClip.cpp
SbClip.cpp: Lisp/Scheme program text
Correct results, "ASCII English text", "ASCI C program text" or similar
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.
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.