diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-10-06 09:29:14 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-10-06 09:29:14 +0000 |
commit | 2f350ff30ab3be99dacebb124a3a68291d748703 (patch) | |
tree | 95ae68a9c5e894ceee54bec4775c1ac57341d891 /usr.bin/file/magdir | |
parent | d620a5d55a2b3437838deb3e0590fefdefc4ce8d (diff) |
Simple update for pdf, from file 5.x.
Diffstat (limited to 'usr.bin/file/magdir')
-rw-r--r-- | usr.bin/file/magdir/pdf | 8 |
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 |