I forgot to adjust one offset after adding the namespace table, so we currently produce invalid cache files. The following patch fixes that, and has some portability fixes as well.
Created attachment 2356 [details] [review] the patch
As far as I can tell, this is the patch that was applied with : Fri Apr 8 23:34:27 2005 Jonathan Blandford <jrb@redhat.com> * update-mime-database.c: Patch from Matthias Clasen <mclasen@redhat.com> to adjust one offset after adding the namespace table. Produced cache now works. Marking the bug as fixed, please reopen it if I'm mistaken.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.