From owner-svn-src-all@FreeBSD.ORG Mon May 21 02:45:48 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A783D106566B; Mon, 21 May 2012 02:45:48 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 57AF58FC0A; Mon, 21 May 2012 02:45:48 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q4L2jl6m032583; Mon, 21 May 2012 02:45:47 GMT (envelope-from kevlo@svn.freebsd.org) Received: (from kevlo@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q4L2jlE4032581; Mon, 21 May 2012 02:45:47 GMT (envelope-from kevlo@svn.freebsd.org) Message-Id: <201205210245.q4L2jlE4032581@svn.freebsd.org> From: Kevin Lo Date: Mon, 21 May 2012 02:45:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r235713 - head/sys/libkern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2012 02:45:48 -0000 Author: kevlo Date: Mon May 21 02:45:47 2012 New Revision: 235713 URL: http://svn.freebsd.org/changeset/base/235713 Log: Use strcmp that I replaced by accident. Modified: head/sys/libkern/iconv_ucs.c Modified: head/sys/libkern/iconv_ucs.c ============================================================================== --- head/sys/libkern/iconv_ucs.c Mon May 21 02:41:15 2012 (r235712) +++ head/sys/libkern/iconv_ucs.c Mon May 21 02:45:47 2012 (r235713) @@ -102,12 +102,12 @@ iconv_ucs_open(struct iconv_converter_cl if (cspf) dp->convtype |= KICONV_UCS_COMBINE; for (i = 0; unicode_family[i].name; i++) { - if (strcasecmp(from, unicode_family[i].name) == 0) + if (strcmp(from, unicode_family[i].name) == 0) dp->convtype |= unicode_family[i].from_flag; - if (strcasecmp(to, unicode_family[i].name) == 0) + if (strcmp(to, unicode_family[i].name) == 0) dp->convtype |= unicode_family[i].to_flag; } - if (strcasecmp(ENCODING_UNICODE, ENCODING_UTF16) == 0) + if (strcmp(ENCODING_UNICODE, ENCODING_UTF16) == 0) dp->convtype |= KICONV_UCS_UCS4; else dp->convtype &= ~KICONV_UCS_UCS4;