Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Molaro <lupus@oddwiz.org>2006-03-24 23:34:04 +0300
committerPaolo Molaro <lupus@oddwiz.org>2006-03-24 23:34:04 +0300
commit1b91d218c449bfdc26582ba41a8889482f8c8e75 (patch)
tree74203255958fc077da3378930b7de11e33deb577 /docs/magic.diff
parent151d55b2dd1ce21df6781cee901f971bf17e66f1 (diff)
magic file(1) patch.
svn path=/trunk/mono/; revision=58489
Diffstat (limited to 'docs/magic.diff')
-rw-r--r--docs/magic.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/magic.diff b/docs/magic.diff
new file mode 100644
index 00000000000..c8dee8e1627
--- /dev/null
+++ b/docs/magic.diff
@@ -0,0 +1,15 @@
+This is a patch that can be applied to the magic file used by file(1) to
+recognize mono assemblies.
+Apply it to the magic file (usually in /usr/share/file/magic or
+/usr/share/misc/magic) and recompile it with file -C.
+
+--- magic.old 2006-03-24 21:12:25.000000000 +0100
++++ magic 2006-03-24 21:12:17.000000000 +0100
+@@ -7205,6 +7205,7 @@
+ >>>>(0x3c.l+4) leshort 0x290 PA-RISC
+ >>>>(0x3c.l+22) leshort&0x0100 >0 32-bit
+ >>>>(0x3c.l+22) leshort&0x1000 >0 system file
++>>>>(0x3c.l+232) lelong >0 Mono/.Net assembly
+
+ >>>>(0x3c.l+0xf8) string UPX0 \b, UPX compressed
+ >>>>(0x3c.l+0xf8) search/0x140 PEC2 \b, PECompact2 compressed