summaryrefslogtreecommitdiffstats
path: root/sys/libkern/strlcpy.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2014-06-27 20:39:45 +0000
committerjhb <jhb@FreeBSD.org>2014-06-27 20:39:45 +0000
commit6af57d4a5eee2f98359ce44ef78a0b6afab528dc (patch)
treedde613fb6e86391038f65fa041a4c51417cefd8d /sys/libkern/strlcpy.c
parentef9a2f4c5e9ed0751f5411e9b5fa18ec667529a0 (diff)
downloadFreeBSD-src-6af57d4a5eee2f98359ce44ef78a0b6afab528dc.zip
FreeBSD-src-6af57d4a5eee2f98359ce44ef78a0b6afab528dc.tar.gz
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
Diffstat (limited to 'sys/libkern/strlcpy.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud