Package: file
Version: 4.26-1
Severity: normal
Tags: patch

Detection of java class files doesn't work although the current config attempts
it. The documentation above the pattern is right (correct location of java 
version
information is mentioned), but checking the version number of the class file
fails, the java version is at offet 4, not 2.

Patch:
--- zz  2009-12-03 11:19:21.000000000 +0100
+++ /usr/share/file/magic       2009-12-03 11:04:38.000000000 +0100
@@ -3174,7 +3174,7 @@
 0      beshort         0xcafe
 >2     beshort         0xbabe
 !:mime application/x-java-applet
->>2    belong          >30             compiled Java class data,
+>>4    belong          >30             compiled Java class data,
 >>>6   beshort         x               version %d.
 >>>4   beshort         x               \b%d
 >>4    belong          1               Mach-O fat file with 1 architecture

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to