summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-10-05 22:45:26 +0000
committernicm <nicm@openbsd.org>2015-10-05 22:45:26 +0000
commited74b844c2f2e134288c8832a2573a0e8716c42f (patch)
treec738b2adbbd18a03830fe37c0abfb80882ba7048
parentUpdate compress magic from the upstream file 5.x magic files. (diff)
downloadwireguard-openbsd-ed74b844c2f2e134288c8832a2573a0e8716c42f.tar.xz
wireguard-openbsd-ed74b844c2f2e134288c8832a2573a0e8716c42f.zip
Get BE and LE UTF-32 correct, from file 5.x.
-rw-r--r--usr.bin/file/magdir/unicode6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/file/magdir/unicode b/usr.bin/file/magdir/unicode
index a00ebcdce08..b6d0b31be0c 100644
--- a/usr.bin/file/magdir/unicode
+++ b/usr.bin/file/magdir/unicode
@@ -1,6 +1,6 @@
-# $OpenBSD: unicode,v 1.3 2009/04/24 18:54:34 chl Exp $
+# $OpenBSD: unicode,v 1.4 2015/10/05 22:45:26 nicm Exp $
-#---------------------------------------------------------------------------
+#------------------------------------------------------------------------------
# Unicode: BOM prefixed text files - Adrian Havill <havill@turbolinux.co.jp>
# GRR: These types should be recognised in file_ascmagic so these
# encodings can be treated by text patterns.
@@ -11,6 +11,6 @@
0 string +/v+ Unicode text, UTF-7
0 string +/v/ Unicode text, UTF-7
0 string \335\163\146\163 Unicode text, UTF-8-EBCDIC
-0 string \376\377\000\000 Unicode text, UTF-32, big-endian
+0 string \000\000\376\377 Unicode text, UTF-32, big-endian
0 string \377\376\000\000 Unicode text, UTF-32, little-endian
0 string \016\376\377 Unicode text, SCSU (Standard Compression Scheme for Unicode)