74 lines
2.0 KiB
Diff
74 lines
2.0 KiB
Diff
From 27b4fa644c618a79f306df6b0576f5dc00672e09 Mon Sep 17 00:00:00 2001
|
|
From: Jan Kaluza <jkaluza@redhat.com>
|
|
Date: Wed, 3 Sep 2014 11:38:09 +0200
|
|
Subject: [PATCH] file-5.19-cafebabe.patch
|
|
|
|
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
|
|
---
|
|
magic/Magdir/cafebabe | 37 +++++++++++++++++--------------------
|
|
1 file changed, 17 insertions(+), 20 deletions(-)
|
|
|
|
diff --git a/magic/Magdir/cafebabe b/magic/Magdir/cafebabe
|
|
index 51e97c4..1d007b6 100644
|
|
--- a/magic/Magdir/cafebabe
|
|
+++ b/magic/Magdir/cafebabe
|
|
@@ -15,22 +15,6 @@
|
|
# might add another one or two as time goes by...
|
|
#
|
|
### JAVA START ###
|
|
-0 belong 0xcafebabe
|
|
->4 belong >30 compiled Java class data,
|
|
-!:mime application/x-java-applet
|
|
->>6 beshort x version %d.
|
|
->>4 beshort x \b%d
|
|
-# Which is which?
|
|
-#>>4 belong 0x032d (Java 1.0)
|
|
-#>>4 belong 0x032d (Java 1.1)
|
|
->>4 belong 0x002e (Java 1.2)
|
|
->>4 belong 0x002f (Java 1.3)
|
|
->>4 belong 0x0030 (Java 1.4)
|
|
->>4 belong 0x0031 (Java 1.5)
|
|
->>4 belong 0x0032 (Java 1.6)
|
|
->>4 belong 0x0033 (Java 1.7)
|
|
->>4 belong 0x0034 (Java 1.8)
|
|
-
|
|
0 belong 0xcafed00d JAR compressed with pack200,
|
|
>5 byte x version %d.
|
|
>4 byte x \b%d
|
|
@@ -52,15 +36,28 @@
|
|
|
|
0 belong 0xcafebabe
|
|
>4 belong 1 Mach-O universal binary with 1 architecture:
|
|
-!:mime application/x-mach-binary
|
|
>>8 use mach-o \b
|
|
+0 belong 0xcafebabe
|
|
+>4 belong >30 compiled Java class data,
|
|
+!:mime application/x-java-applet
|
|
+>>6 beshort x version %d.
|
|
+>>4 beshort x \b%d
|
|
+# Which is which?
|
|
+#>>4 belong 0x032d (Java 1.0)
|
|
+#>>4 belong 0x032d (Java 1.1)
|
|
+>>4 belong 0x002e (Java 1.2)
|
|
+>>4 belong 0x002f (Java 1.3)
|
|
+>>4 belong 0x0030 (Java 1.4)
|
|
+>>4 belong 0x0031 (Java 1.5)
|
|
+>>4 belong 0x0032 (Java 1.6)
|
|
+>>4 belong 0x0033 (Java 1.7)
|
|
+>>4 belong 0x0034 (Java 1.8)
|
|
>4 belong >1
|
|
>>4 belong <20 Mach-O universal binary with %d architectures:
|
|
-!:mime application/x-mach-binary
|
|
>>>8 use mach-o \b
|
|
->>4 belong 2
|
|
+>>4 belong >2
|
|
>>>28 use mach-o \b
|
|
->>4 belong 3
|
|
+>>4 belong >3
|
|
>>>48 use mach-o \b
|
|
>>4 belong 4
|
|
>>>68 use mach-o \b
|
|
--
|
|
2.5.5
|
|
|