]> git.pld-linux.org Git - packages/file.git/commitdiff
- regiter ELF files in magic.mime file (patch from Conectiva).
authorkloczek <kloczek@pld-linux.org>
Mon, 20 May 2002 10:50:15 +0000 (10:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    file-mime-elf.patch -> 1.1

file-mime-elf.patch [new file with mode: 0644]

diff --git a/file-mime-elf.patch b/file-mime-elf.patch
new file mode 100644 (file)
index 0000000..f13fec0
--- /dev/null
@@ -0,0 +1,27 @@
+--- file-3.37/magic.mime.orig  2002-04-24 13:05:20.000000000 -0300
++++ file-3.37/magic.mime       2002-04-24 13:06:18.000000000 -0300
+@@ -517,13 +517,24 @@
+ >4      byte            0
+ >4      byte            1
+ >4      byte            2
++# offset 5: data encoding:
++# invalid data encoding
+ >5      byte            0
++# little endian
+ >5      byte            1
+ >>16    leshort         0
+ >>16    leshort         1               application/x-object
+ >>16    leshort         2               application/x-executable
+ >>16    leshort         3               application/x-sharedlib
+ >>16    leshort         4               application/x-coredump
++# big endian:
++>5      byte            2
++>>16    beshort         0
++>>16    beshort         1               application/x-object
++>>16    beshort         2               application/x-executable
++>>16    beshort         3               application/x-sharedlib
++>>16    beshort         4               application/x-coredump
++
+ #
+ # DOS
+ 0             string                  MZ                              application/x-dosexec
This page took 0.157571 seconds and 4 git commands to generate.