git: 9front

Download patch

ref: d2bc6d3e94660d2d793c9b96b997e0cf90c2b7ff
parent: d06770e0de8850ef2d6bc2bf9c44dbe80bae8e52
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Tue Oct 25 00:03:44 EDT 2011

file: detect torrent files

--- a/sys/src/cmd/file.c
+++ b/sys/src/cmd/file.c
@@ -831,6 +831,7 @@
 				"pem x.509 certificate", -1,	"text/plain",
 	"subject=/C=",		"pem certificate with header", -1, "text/plain",
 	"process snapshot ",	"process snapshot",	-1,	"application/snapfs",
+	"d8:announce",		"torrent file",		11,	"application/x-bittorrent",
 	0,0,0,0
 };
 
--