mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
file: recognize Mach-O binaries and Java class files
This commit is contained in:
parent
3ae09bee86
commit
3ebbb99ce3
1 changed files with 3 additions and 0 deletions
|
@ -523,6 +523,9 @@ Filemagic long0tab[] = {
|
||||||
070707, 0xFFFF, "cpio archive\n", OCTET,
|
070707, 0xFFFF, "cpio archive\n", OCTET,
|
||||||
0x2F7, 0xFFFF, "tex dvi\n", "application/dvi\n",
|
0x2F7, 0xFFFF, "tex dvi\n", "application/dvi\n",
|
||||||
0xfffa0000, 0xfffe0000, "mp3 audio\n", "audio/mpeg\n",
|
0xfffa0000, 0xfffe0000, "mp3 audio\n", "audio/mpeg\n",
|
||||||
|
0xcafebabe, 0xFFFFFFFF, "Mach-O fat executable\n", "application/x-mach-binary\n",
|
||||||
|
0xfeedface, 0xFFFFFFFE, "Mach-O executable\n", "application/x-mach-binary\n",
|
||||||
|
0xbebafeca, 0xFFFFFFFF, "Java class\n", "application/x-java-applet\n",
|
||||||
};
|
};
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in a new issue