summaryrefslogtreecommitdiff
path: root/recipes-core/file-magic-db-images/files/Magdir/msdos
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2020-06-15 12:01:01 -0500
committerJeff Hatch <jhatch@multitech.com>2020-06-15 12:01:01 -0500
commit612ffa7c85d856c9706064e62448a3debe5c3379 (patch)
tree7ce893519ee65180783ef3c248bd04c6f3f817c5 /recipes-core/file-magic-db-images/files/Magdir/msdos
parent0a3f99fc26efa34e65d0105ae18888bd750e5ab6 (diff)
parenta117c7a2ccc99c9903764658fc3640e06ffe4661 (diff)
downloadmeta-mlinux-612ffa7c85d856c9706064e62448a3debe5c3379.tar.gz
meta-mlinux-612ffa7c85d856c9706064e62448a3debe5c3379.tar.bz2
meta-mlinux-612ffa7c85d856c9706064e62448a3debe5c3379.zip
Merge branch 'udev-rules-refactoring' to better reflect architecture dependencies in architecture specific layers.
Diffstat (limited to 'recipes-core/file-magic-db-images/files/Magdir/msdos')
-rw-r--r--recipes-core/file-magic-db-images/files/Magdir/msdos29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-core/file-magic-db-images/files/Magdir/msdos b/recipes-core/file-magic-db-images/files/Magdir/msdos
new file mode 100644
index 0000000..7b1330e
--- /dev/null
+++ b/recipes-core/file-magic-db-images/files/Magdir/msdos
@@ -0,0 +1,29 @@
+
+#------------------------------------------------------------------------------
+# $File: msdos,v 1.105 2016/03/03 18:58:14 christos Exp $
+# msdos: file(1) magic for MS-DOS files
+#
+
+# Windows icons
+# Update: Joerg Jenderek
+# URL: https://en.wikipedia.org/wiki/CUR_(file_format)
+# Note: similiar to Windows CURsor. container for BMP (only DIB part) or PNG
+0 belong 0x00000100
+>9 byte 0
+>>0 byte x
+>>0 use cur-ico-dir
+>9 ubyte 0xff
+>>0 byte x
+>>0 use cur-ico-dir
+# displays number of icons and information for icon or cursor
+0 name cur-ico-dir
+# skip some Lotus 1-2-3 worksheets, CYCLE.PIC and keep Windows cursors with
+# 1st data offset = dir header size + n * dir entry size = 6 + n * 10h = ?6h
+>18 ulelong &0x00000006
+# skip remaining worksheets, because valid only for DIB image (40) or PNG image (\x89PNG)
+>>(18.l) ulelong x MS Windows
+>>>0 ubelong 0x00000100 icon resource
+#!:mime image/vnd.microsoft.icon
+!:mime image/x-icon
+!:ext ico
+