Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/file/dist/src PR/49192: remove dup assignment.
details: https://anonhg.NetBSD.org/src/rev/44ca3f3859c3
branches: trunk
changeset: 332211:44ca3f3859c3
user: christos <christos%NetBSD.org@localhost>
date: Thu Sep 11 13:30:04 2014 +0000
description:
PR/49192: remove dup assignment.
diffstat:
external/bsd/file/dist/src/encoding.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r f48048d7fad4 -r 44ca3f3859c3 external/bsd/file/dist/src/encoding.c
--- a/external/bsd/file/dist/src/encoding.c Thu Sep 11 13:10:03 2014 +0000
+++ b/external/bsd/file/dist/src/encoding.c Thu Sep 11 13:30:04 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: encoding.c,v 1.1.1.5 2014/06/13 01:48:22 christos Exp $ */
+/* $NetBSD: encoding.c,v 1.2 2014/09/11 13:30:04 christos Exp $ */
/*
* Copyright (c) Ian F. Darwin 1986-1995.
* Software written by Ian F. Darwin and others;
@@ -39,7 +39,7 @@
#if 0
FILE_RCSID("@(#)$File: encoding.c,v 1.9 2013/11/19 20:45:50 christos Exp $")
#else
-__RCSID("$NetBSD: encoding.c,v 1.1.1.5 2014/06/13 01:48:22 christos Exp $");
+__RCSID("$NetBSD: encoding.c,v 1.2 2014/09/11 13:30:04 christos Exp $");
#endif
#endif /* lint */
@@ -102,7 +102,6 @@
*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) {
Home |
Main Index |
Thread Index |
Old Index