]> granicus.if.org Git - file/commit
When matching softmagic for ascii files, don't just print
authorChristos Zoulas <christos@zoulas.com>
Thu, 3 Feb 2011 01:43:33 +0000 (01:43 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 3 Feb 2011 01:43:33 +0000 (01:43 +0000)
commit701120ead33dad657da11532b3d4eac1ccce8aa0
treed913bba47372dc9128e4e36e784ec4263fa74635
parent029556a8bcb053e9ff46bdb7e76ff7154f8a7db1
When matching softmagic for ascii files, don't just print
the softmagic classification, keep going and print the
text classification too. This fixes broken troff files when
we moved them from keyword recognition to softmagic
(they stopped printing "with CRLF" etc.)
Reported by Doug McIlroy.
ChangeLog
python/magic.py
src/ascmagic.c
src/file.h
src/funcs.c