Hi! On 8/21/20 9:33 PM, John Paul Adrian Glaubitz wrote: > Could you check whether this bugs still persists? It's probably been fixed > long time ago, hasn't it?
Looks like the bug is no longer reproducible: root@pacman:~# cat sfl.c #include <err.h> #include <locale.h> #include <stdlib.h> #include <string.h> const char s1[] = { 0x20, 0xe0, 0xa6, 0xac, 0x00 }; const char s2[] = { 0x20, 0xe0, 0xa6, 0xad, 0x00 }; int main(void) { int r; if (setlocale(LC_ALL, "") == NULL) err(4, "setlocale"); r = strcoll(s1, s2); return (r < 0 ? 1 : r == 0 ? 2 : 3); } root@pacman:~# gcc -o sfl sfl.c root@pacman:~# LC_ALL=C.UTF-8 ./sfl; echo $? 1 root@pacman:~# Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913