diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-06-05 19:12:52 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-06-05 19:12:52 +0000 |
commit | 3c2c0c0443344d62a04cf3e08adcfc40f2ab4bf0 (patch) | |
tree | 10d3a6e472257f64e9b5efe360f166cb3ee1940c /contrib/bmake | |
parent | 6c37a3d46982fe97ef7254581cf27f7534922b86 (diff) |
libc/locale: Fix type breakage in __collate_range_cmp().
When collation support was brought in, the second and third
arguments in __collate_range_cmp() were changed from int to
wchar_t, breaking the ABI. Change them to a "char" type which
makes more sense and keeps the ABI compatible.
Also introduce __wcollate_range_cmp() which does work with wide
characters. This function is used only internally in libc so
we don't export it. Use the new function in glob(3), fnmatch(3),
and regexec(3).
PR: 179721
Suggested by: ache. jilles
MFC after: 3 weeks (perhaps partial only)
Notes
Notes:
svn path=/head/; revision=301461
Diffstat (limited to 'contrib/bmake')
0 files changed, 0 insertions, 0 deletions