View | Details | Raw Unified | Return to bug 179721 | Differences between
and this patch

Collapse All | Expand All

(-)lib/libc/locale/collcmp.c (-2 lines)
Lines 46-54 Link Here
46
	wchar_t s1[2], s2[2];
46
	wchar_t s1[2], s2[2];
47
47
48
	s1[0] = c1;
48
	s1[0] = c1;
49
	s1[1] = 0;
50
	s2[0] = c2;
49
	s2[0] = c2;
51
	s2[1] = 0;
52
	struct _xlocale l = {{0}};
50
	struct _xlocale l = {{0}};
53
	l.components[XLC_COLLATE] = (struct xlocale_component *)table;
51
	l.components[XLC_COLLATE] = (struct xlocale_component *)table;
54
	return (wcscoll_l(s1, s2, &l));
52
	return (wcscoll_l(s1, s2, &l));

Return to bug 179721