From 2f350ff30ab3be99dacebb124a3a68291d748703 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 6 Oct 2015 09:29:14 +0000 Subject: Simple update for pdf, from file 5.x. --- usr.bin/file/magdir/pdf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3