1 --- collcmp.c.orig 2004-11-25 11:38:16.000000000 -0800
2 +++ collcmp.c 2005-03-30 08:36:37.000000000 -0800
5 __FBSDID("$FreeBSD: src/lib/libc/locale/collcmp.c,v 1.17 2003/08/03 19:28:23 ache Exp $");
13 * Compare two characters using collate
16 -int __collate_range_cmp(c1, c2)
18 +__private_extern__ int
19 +__collate_range_cmp(c1, c2, loc)
23 - static char s1[2], s2[2];
24 + static wchar_t s1[2], s2[2];
28 - return (strcoll(s1, s2));
29 + return (wcscoll_l(s1, s2, loc));