shithub: riscv

Download patch

ref: 45cc898e4a626cc67312629ae6fe2d25e6cfd733
parent: 326747cfd3e8be2159116dbf488fc0cd596a8fb8
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
 };