]> granicus.if.org Git - file/commit
From Christoph Biedl:
authorChristos Zoulas <christos@zoulas.com>
Fri, 16 Oct 2015 15:11:07 +0000 (15:11 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 16 Oct 2015 15:11:07 +0000 (15:11 +0000)
commit26ab95226283c1014932a994a0ac621b2bc94448
tree0f8316e13291930079c3c4760b08c74e7dea9879
parentec75feb0c35d5fa16530faa3ec7fd22f09fcecbf
From Christoph Biedl:

The bad news first: Detection of WordPerfect/Corel is quite broken due
to forgotten endianess clarification, and has probably been ever since.
On LE archs, nothing but "(Corel/WP)" is printed.

Time for a clarification and cleanup. Basically, there's a product
(Offset 8) and file type (Offset 9) short, and little information about
their meanings. So I took the old logik and placed it in logical
groups, with some questions about PlanPerfect raised. Perhaps there was
an off-by-one when creating the data? Also, the "loadable file" and
"graphic image" fit into the scheme, no need for extra rules.

There were a few hints in the wp2x sources, and the LibreOffice has
a few sample files in the sources. Not all of them are detected, these
have a completely different header (very old format?).
magic/Magdir/wordprocessors