summaryrefslogtreecommitdiff
path: root/usr.bin/file/magdir
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/file/magdir')
-rw-r--r--usr.bin/file/magdir/pdf8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/file/magdir/pdf b/usr.bin/file/magdir/pdf
index 38d46e9dfed..fa0e71cabec 100644
--- a/usr.bin/file/magdir/pdf
+++ b/usr.bin/file/magdir/pdf
@@ -1,4 +1,4 @@
-# $OpenBSD: pdf,v 1.4 2009/04/24 18:54:34 chl Exp $
+# $OpenBSD: pdf,v 1.5 2015/10/06 09:29:13 nicm Exp $
#------------------------------------------------------------------------------
# pdf: file(1) magic for Portable Document Format
@@ -9,8 +9,14 @@
>5 byte x \b, version %c
>7 byte x \b.%c
+0 string \012%PDF- PDF document
+!:mime application/pdf
+>6 byte x \b, version %c
+>8 byte x \b.%c
+
# From: Nick Schmalenberger <nick@schmalenberger.us>
# Forms Data Format
0 string %FDF- FDF document
+!:mime application/vnd.fdf
>5 byte x \b, version %c
>7 byte x \b.%c