]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r317034:
authorbapt <bapt@FreeBSD.org>
Mon, 1 May 2017 12:42:06 +0000 (12:42 +0000)
committerbapt <bapt@FreeBSD.org>
Mon, 1 May 2017 12:42:06 +0000 (12:42 +0000)
commit9b70ea0f74fd0ede657b303ffafba3b48ae4ca20
tree6f5cca6df00d34b18e5a4ee8539ffc92cbd5cf6b
parentbb6c5f5ffdce55e694bc675e29fb9f83d6f5078c
MFC r317034:

Fix strcoll_l disagreeing with strxfrm by reworking the forward order case in
wcscoll_l().

Illumos fixed this while grabbing back our patches:
https://www.illumos.org/rb/r/402/

This does not 100% fix what postgresql folks reported as there is still a
remaining issue: https://www.illumos.org/issues/7962, it improves the situation

The initial issue was reported in postgresql mailing lists:
https://www.postgresql.org/message-id/flat/111D0E27-A8F3-4A84-A4E0-B0FB703863DF@s24.com#111D0E27-A8F3-4A84-A4E0-B0FB703863DF@s24.com

Submitted by: Yuri Pankov <yuri.pankov@nexenta.com>
Obtained from: Illumos
lib/libc/string/wcscoll.c
lib/libc/tests/string/wcscoll_test.c