diff options
author | Thomas Leonard <tal@ecs.soton.ac.uk> | 2003-08-28 11:30:27 +0000 |
---|---|---|
committer | Thomas Leonard <tal@ecs.soton.ac.uk> | 2003-08-28 11:30:27 +0000 |
commit | 24131f40ed79273f792fa1e54c9067e20b8b46f8 (patch) | |
tree | 259b31b11e97f9aa498221f31ae74e4514dcb963 | |
parent | 346b05289f5754f59861f2de06c77986177c450a (diff) | |
download | shared-mime-info-24131f40ed79273f792fa1e54c9067e20b8b46f8.tar.gz |
Fix host matches too.
Updated NEWS file.
-rw-r--r-- | NEWS | 14 | ||||
-rw-r--r-- | update-mime-database.c | 4 |
2 files changed, 15 insertions, 3 deletions
@@ -1,12 +1,24 @@ shared-mime-info Thomas Leonard <tal00r@ecs.soton.ac.uk> - Version 0.12 (07-Apr-2003) + Version 0.12 * Added *.pm and *.al globs for PERL (Jaap Karssenberg). * Added a section to the spec about the inode/* MIME types (suggested by Jaap Karssenberg). + +* Clarify the meaning of nested magic matches. + +* Fixed example (lang -> xml:lang) (Christophe Fergeau). + +* Change 'case insensitive match' to 'lowercase match'. + +* Fixed byte-swapping for little-endian and host-endian matches (reported by + Jaap Karssenberg). + +* Ignore trailing '/' characters on MIME directory name. + Version 0.11 (17-Apr-2003) diff --git a/update-mime-database.c b/update-mime-database.c index 8fca6829..82f70cfa 100644 --- a/update-mime-database.c +++ b/update-mime-database.c @@ -910,10 +910,10 @@ static void parse_value(const char *type, const char *in, const char *in_mask, if (strstr(type, "16")) parse_int_value(2, in, in_mask, parsed_value, parsed_mask, - type[0] == 'b', error); + type[0] != 'l', error); else if (strstr(type, "32")) parse_int_value(4, in, in_mask, parsed_value, parsed_mask, - type[0] == 'b', error); + type[0] != 'l', error); else if (strcmp(type, "byte") == 0) parse_int_value(1, in, in_mask, parsed_value, parsed_mask, FALSE, error); |