]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 267291:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 27 Jun 2014 20:39:45 +0000 (20:39 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 27 Jun 2014 20:39:45 +0000 (20:39 +0000)
commite76276bd6168c4d26c5a44d36cce1d3de8630ab2
treedde613fb6e86391038f65fa041a4c51417cefd8d
parentec7a282cae916cf4d7d33f644289eafb60598c64
MFC 267291:
Use strcasecmp() instead of strcmp() when checking user-supplied encoding
names so that encoding names are treated as case-insensitive.  This allows
the use of 'utf-8' instead of 'UTF-8' for example and matches the behavior
of iconv(1).

PR: 167977

git-svn-id: svn://svn.freebsd.org/base/stable/10@267980 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/libkern/iconv.c
sys/libkern/iconv_ucs.c