NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/49193: Assigment twice in endcoding.c (file).
>Number: 49193
>Category: bin
>Synopsis: Assigment twice in endcoding.c (file).
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 11 08:00:01 +0000 2014
>Originator: Henning Petersen
>Release:
>Organization:
>Environment:
>Description:
Assignment to code twice in endconfig.c at line 105 and 106.
*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) {
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index