Commit graph

4 commits

Author SHA1 Message Date
Joe Marcus Clarke
b40c9846f1 Fix a potential overflow leading to incorrect MIME detection on 64-bit
and bigendian platforms.  See

https://bugs.freedesktop.org/show_bug.cgi?id=1506
https://bugs.freedesktop.org/show_bug.cgi?id=1507

For more details.

Reported by:	Sean McNeil <sean@mcneil.com>
Obtained from:	FreeDesktop CVS
2004-12-04 21:10:03 +00:00
Joe Marcus Clarke
deed05e038 Sync the MIME search directories from gnome-vfs. This fixes some
prioritization issues with custom MIME types.
2004-08-04 18:33:45 +00:00
Joe Marcus Clarke
93181c3dd7 Add support for a mime database in ${X11BASE} as well as ${LOCALBASE}.
Requested by:	pav
2004-06-26 03:28:37 +00:00
Joe Marcus Clarke
c9791c336c It is possible for ``lang'' to be NULL, and thus free'ing it would be a bad
idea.  Add a check to prevent a crash.

Submitted by:	Mark Evenson <evenson@panix.com>
2004-04-13 03:17:32 +00:00