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;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to