]> granicus.if.org Git - file/commitdiff
PR/383: Remove unicode BOM as suggested.
authorChristos Zoulas <christos@zoulas.com>
Wed, 24 Sep 2014 19:52:46 +0000 (19:52 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 24 Sep 2014 19:52:46 +0000 (19:52 +0000)
magic/Magdir/windows

index 320cb0b4ac18efdf3b34adcc73101f7897c8cf23..e60f69c71acbcc4eef54ecdcd8962bf25aae82c5 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: windows,v 1.8 2014/04/30 21:41:02 christos Exp $
+# $File: windows,v 1.9 2014/09/23 23:42:44 christos Exp $
 # windows:  file(1) magic for Microsoft Windows
 #
 # This file is mainly reserved for files where programs
 >&0    string          Version\ 5.00\r\n\r\n   Windows Registry text (Win2K or above)
 
 # Windows *.INF *.INI files updated by Joerg Jenderek at Apr 2013
-# emtpy ,comment , section , unicode line
-0      regex/s         \\`(\\r\\n|;|[[]|\\xFF\\xFE)                    
+# empty ,comment , section
+# PR/383: remove unicode BOM because it is not portable across regex impls
+0      regex/s         \\`(\\r\\n|;|[[])
 # left bracket in section line
 >&0    search/8192     [                                               
 # http://en.wikipedia.org/wiki/Autorun.inf