]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r266865;
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 14 Jun 2014 02:57:40 +0000 (02:57 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 14 Jun 2014 02:57:40 +0000 (02:57 +0000)
commit83821100c09ac3f39d7f45e32f802f46c2f35e0a
treec971fabf6d364693631fe7339523fd417f799697
parent38233b02c48aa347e80a0b9a5396674227760294
MFC r266865;

Fix strcasecmp_l() and strncasecmp_l() POSIX 2008 compliance.

POSIX.1-2008 specifies that those two functions should be declared by
including <strings.h>, not <string.h> (the latter only has strcoll_l()
and strxfrm_l()):

http://pubs.opengroup.org/onlinepubs/9699919799/functions/strcasecmp.html

Bump __FreeBSD_version for ports that may be using the non-standard
reference.

Obtained from: DragonFlyBSD
Reviewed by: theraven

git-svn-id: svn://svn.freebsd.org/base/stable/10@267465 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
include/strings.h
include/xlocale/Makefile
include/xlocale/_string.h
include/xlocale/_strings.h [new file with mode: 0644]
lib/libc/string/strcasecmp.3
sys/sys/param.h