hrev47510 adds 1 changeset to branch 'master' old head: 8f9b4f71c58c7a4f1c64513df7f8850e92c715d7 new head: 10632ac2db5bf4b656e3aeef29772a2d29d595cb overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=10632ac+%5E8f9b4f7 ---------------------------------------------------------------------------- 10632ac: Add working sniffer rule for lha and add lzh extension. [ Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev47510 Commit: 10632ac2db5bf4b656e3aeef29772a2d29d595cb URL: http://cgit.haiku-os.org/haiku/commit/?id=10632ac Author: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> Date: Thu Jul 17 07:43:52 2014 UTC ---------------------------------------------------------------------------- 1 file changed, 2 insertions(+), 1 deletion(-) src/data/mime_db/application/x-lharc | 3 ++- ---------------------------------------------------------------------------- diff --git a/src/data/mime_db/application/x-lharc b/src/data/mime_db/application/x-lharc index eb629e1..5ef93e4 100644 --- a/src/data/mime_db/application/x-lharc +++ b/src/data/mime_db/application/x-lharc @@ -5,12 +5,13 @@ resource(1, "META:TYPE") "application/x-lharc"; resource(2, "META:S:DESC") #'MSDC' "LHarc archive"; -//resource(2, "META:SNIFF_RULE") "0.40 (\"\\037\\213\")"; +resource(2, "META:SNIFF_RULE") "0.50 (\"??-lh?-\" & 0x0000ffffff00ff) ([20] \"\\000" & 0xfc)"; resource(3, "META:PREF_APP") #'MSIG' "application/x-vnd.Haiku-Expander"; resource(4, "META:EXTENS") message(234) { "extensions" = "lha", + "extensions" = "lzh", "type" = "application/x-lharc" };