From: nicm Date: Tue, 6 Oct 2015 09:29:13 +0000 (+0000) Subject: Simple update for pdf, from file 5.x. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0b46d497f5e90aa82e672af697d2a524cee6c952;p=openbsd Simple update for pdf, from file 5.x. --- 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 # Forms Data Format 0 string %FDF- FDF document +!:mime application/vnd.fdf >5 byte x \b, version %c >7 byte x \b.%c