From 48f640fb39a51412c289cf60a37e13bf69f64cf3 Mon Sep 17 00:00:00 2001 From: delphij Date: Tue, 30 Dec 2014 19:39:31 +0000 Subject: MFC r275698: MFV r275696: file 5.21. --- contrib/file/src/encoding.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'contrib/file/src/encoding.c') diff --git a/contrib/file/src/encoding.c b/contrib/file/src/encoding.c index b75e0cc..c1b23cc 100644 --- a/contrib/file/src/encoding.c +++ b/contrib/file/src/encoding.c @@ -35,7 +35,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: encoding.c,v 1.9 2013/11/19 20:45:50 christos Exp $") +FILE_RCSID("@(#)$File: encoding.c,v 1.10 2014/09/11 12:08:52 christos Exp $") #endif /* lint */ #include "magic.h" @@ -97,7 +97,6 @@ file_encoding(struct magic_set *ms, const unsigned char *buf, size_t nbytes, uni *code_mime = "utf-8"; } else if (file_looks_utf8(buf, nbytes, *ubuf, ulen) > 1) { DPRINTF(("utf8 %" SIZE_T_FORMAT "u\n", *ulen)); - *code = "UTF-8 Unicode (with BOM)"; *code = "UTF-8 Unicode"; *code_mime = "utf-8"; } else if ((ucs_type = looks_ucs16(buf, nbytes, *ubuf, ulen)) != 0) { -- cgit v1.1