View Issue Details

IDProjectCategoryView StatusLast Update
0000642fileGeneralpublic2025-04-11 09:59
ReporterAlbrecht Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
Status newResolutionopen 
Platformx86_64OSDebianOS VersionTrixie (testing)
Product Version5.46 
Summary0000642: Source code and scripts w/ Doxygen comments classified as HTML
DescriptionSome C source and script files are wrongly classified ad HTML if then contain Doxygen comments (note that this seems to be a similar issue as https://bugs.astron.com/view.php?id=454 for version 5.44 on Debian Bookworm).

Using the two files extracted from the attached zip, and running the latest Git master branch, compiled on Debian Trixie, I get (sample.c is actually the one from issue 454)

<snip>
albrecht@ad-trixie:~/file-master$ ./src/file -m magic/magic.mgc sample.*
sample.c: HTML document, Unicode text, UTF-8 text
sample.py: HTML document, ASCII text
albrecht@ad-trixie:~/file-master$ ./src/file -m magic/magic.mgc --mime sample.*
sample.c: text/html; charset=utf-8
sample.py: text/html; charset=us-ascii
</snip>
Steps To ReproduceSee above.
Additional InformationFeel free to add my samples to your test cases…
TagsNo tags attached.

Activities

Albrecht

2025-04-11 09:59

reporter  

samples.zip (713 bytes)

Issue History

Date Modified Username Field Change
2025-04-11 09:59 Albrecht New Issue
2025-04-11 09:59 Albrecht File Added: samples.zip