Change the magic number used to introduce a trie file, so that instead master
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 8 Dec 2012 12:05:33 +0000 (12:05 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 8 Dec 2012 12:05:33 +0000 (12:05 +0000)
commitbb013b1f71556b8943793990a84d0e9b80e28004
tree6eb1e5be1a0479057f3ca20f3ef522e72b52bc2f
parent712ecaa057b431ab141bb9864096d6fa49d6c581
Change the magic number used to introduce a trie file, so that instead
of a single unsigned long it's a big structure filled with various
integer and pointer types. The idea is that when we check it on
reading an existing index file, it should point out any ABI mismatches
between the platform which generated the index and the one reading it.

In the course of this work I've had to actually add code to check the
magic numbers, which previously weren't checked at all and so would
have been useful only to file(1).

git-svn-id: svn://svn.tartarus.org/sgt/agedu@9723 cda61777-01e9-0310-a592-d414129be87e
agedu.c
trie.c
trie.h