summaryrefslogtreecommitdiff
path: root/sys/src/cmd
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@rei2.9hal>2012-01-20 02:15:22 +0100
committercinap_lenrek <cinap_lenrek@rei2.9hal>2012-01-20 02:15:22 +0100
commit9140ae4a2ae59966c6d9b6e5cad9ecab6a0fda09 (patch)
tree5d82159b6e26c54377f985cb73e8feb217458625 /sys/src/cmd
parentd22171603e6986d09325a7fbf77aa0a67d3a063e (diff)
file: detect FF D8 maker for jpeg
Diffstat (limited to 'sys/src/cmd')
-rw-r--r--sys/src/cmd/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/cmd/file.c b/sys/src/cmd/file.c
index 17a1d4859..59bb854f4 100644
--- a/sys/src/cmd/file.c
+++ b/sys/src/cmd/file.c
@@ -802,6 +802,7 @@ struct FILE_STRING
"\377\330\377\340", "jpeg", 4, "image/jpeg",
"\377\330\377\341", "jpeg", 4, "image/jpeg",
"\377\330\377\333", "jpeg", 4, "image/jpeg",
+ "\xff\xd8", "jpeg", 2, "image/jpeg",
"BM", "bmp", 2, "image/bmp",
"\xD0\xCF\x11\xE0\xA1\xB1\x1A\xE1", "microsoft office document", 8, "application/doc",
"<MakerFile ", "FrameMaker file", 11, "application/framemaker",