417a11
commit 774f9f6653a90d83a8b5802e7dd210a45603e039
417a11
Author: Christos Zoulas <christos@zoulas.com>
417a11
Date:   Fri Jan 25 23:07:19 2013 +0000
417a11
417a11
    bump mime desc
417a11
417a11
diff --git a/src/file.h b/src/file.h
417a11
index 8e139fc..4c03766 100644
417a11
@@ -128,12 +128,13 @@
417a11
 #endif
417a11
 #define MAXMAGIS 8192		/* max entries in any one magic file
417a11
 				   or directory */
417a11
-#define MAXDESC	64		/* max leng of text description/MIME type */
417a11
-#define MAXstring 64		/* max leng of "string" types */
417a11
+#define MAXDESC	64		/* max len of text description/MIME type */
417a11
+#define MAXMIME	80		/* max len of text MIME type */
417a11
+#define MAXstring 64		/* max len of "string" types */
417a11
 
417a11
 #define MAGICNO		0xF11E041C
417a11
-#define VERSIONNO	9
417a11
-#define FILE_MAGICSIZE	232
417a11
+#define VERSIONNO	10
417a11
+#define FILE_MAGICSIZE	248
417a11
 
417a11
 #define	FILE_LOAD	0
417a11
 #define FILE_CHECK	1
417a11
@@ -300,9 +301,9 @@ struct magic {
417a11
 	union VALUETYPE value;	/* either number or string */
417a11
 	/* Words 17-32 */
417a11
 	char desc[MAXDESC];	/* description */
417a11
-	/* Words 33-48 */
417a11
-	char mimetype[MAXDESC]; /* MIME type */
417a11
-	/* Words 49-50 */
417a11
+	/* Words 33-52 */
417a11
+	char mimetype[MAXMIME]; /* MIME type */
417a11
+	/* Words 53-54 */
417a11
 	char apple[8];
417a11
 };
417a11