Subject: file: fails to recognise some PDF files Package: file Version: 4.26-1 Severity: normal
The "file" command fails to recognise some PDF files, here is a hexdump of one such PDF file: 00000000 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 25 50 |..............%P| 00000010 44 46 2d 31 2e 34 0a 25 e2 e3 cf d3 0a 32 20 30 |DF-1.4.%.....2 0| As you can see there are a number of extra line-feed (0x0a) characters at the start of the file, I think the magic needs updating to ignore spurious line-feeds at the start of PDF files. Regards, Dan... -- System Information: Debian Release: 5.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages file depends on: ii libc6 2.7-18 GNU C Library: Shared libraries ii libmagic1 4.26-1 File type determination library us ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime file recommends no packages. file suggests no packages. -- no debconf information ------------------------------------------------------------------------------------ Scanned for viruses, spam and offensive content by CensorNet MailSafe Try CensorNet free for 14 days. Provide Internet access on your terms. Visit www.censornet.com for more information. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

