]> granicus.if.org Git - file/commitdiff
reverse printing order so that the current entry can gain mime and ext
authorChristos Zoulas <christos@zoulas.com>
Thu, 5 Nov 2015 18:20:46 +0000 (18:20 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 5 Nov 2015 18:20:46 +0000 (18:20 +0000)
magic/Magdir/sql

index f5b8f7045196eb987c94cd67d77119979fa6ee13..cd81996f44c775cf8ec7ad35a9680e25de2f8e0b 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: sql,v 1.16 2015/11/04 01:02:02 christos Exp $
+# $File: sql,v 1.17 2015/11/05 18:20:46 christos Exp $
 # sql:  file(1) magic for SQL files
 #
 # From: "Marty Leisner" <mleisner@eng.mc.xerox.com>
@@ -54,7 +54,7 @@
 # at offset 68 that is preferred over "user version" for indicating the
 # associated application.
 #
-0   string  SQLite\ format\ 3
+0   string  SQLite\ format\ 3  SQLite 3.x database
 !:mime application/x-sqlite3
 # seldom found extension sqlite3 like in SyncData.sqlite3
 # db
 # "TTCONTAINER" like in tracks.sqlite contentconsumer.sqlite contentproducerrepository.sqlite
 # and with string "ZV-zlib" in like extra.sqlite
 !:ext sqlite/sqlite3/db/dbe
->60 belong  =0x5f4d544e  Monotone source repository - SQLite3 database
->68 belong  =0x0f055112  Fossil checkout - SQLite3 database
->68 belong  =0x0f055113  Fossil global configuration - SQLite3 database
->68 belong  =0x0f055111  Fossil repository - SQLite3 database
->68 belong  =0x42654462  Bentley Systems BeSQLite Database - SQLite3 database
->68 belong  =0x42654c6e  Bentley Systems Localization File - SQLite3 database
->68 belong  =0x47504b47  OGC GeoPackage file - SQLite3 database
->68 default x            SQLite 3.x database
+>60 belong  =0x5f4d544e  (Monotone source repository)
+>68 belong  =0x0f055112  (Fossil checkout)
+>68 belong  =0x0f055113  (Fossil global configuration)
+>68 belong  =0x0f055111  (Fossil repository)
+>68 belong  =0x42654462  (Bentley Systems BeSQLite Database)
+>68 belong  =0x42654c6e  (Bentley Systems Localization File)
+>68 belong  =0x47504b47  (OGC GeoPackage file)
+>68 default x
 >>68 belong  !0          \b, application id %u
 >>60 belong  !0          \b, user version %d
 
@@ -90,5 +90,5 @@
 !:ext db/bin
 #!:mime        application/x-db-svl-panasonic
 >126   string          SQLite\ format\ 3       
-!:mime application/x-panasonic-sqlite3
+#!:mime        application/x-panasonic-sqlite3
 >>&-15 indirect        x                       \b; contains