Re: [Toybox] Test suite and UTF8.

2016-01-15 Thread Robert Thompson
I might be wrong, but I think this is a Debian (and derived) thing. I did a search before commenting, and apparently there is no C.UTF-8 in upstream glibc. I see several discussions about possibly adding it, some dating as late as August 2015, but haven't found any sign that it was added to glibc.

Re: [Toybox] Test suite and UTF8.

2016-01-15 Thread Samuel Holland
On 01/15/2016 02:28 PM, Rob Landley wrote: In theory, this means I set LC_ALL=c in scripts/test.sh the same way I do in scripts/make.sh, but I don't want to accidentally disable UTF8 support in the host version I'm testing against. Then set LC_ALL=C.UTF-8 This works on both glibc and musl for

[Toybox] Test suite and UTF8.

2016-01-15 Thread Rob Landley
Izabera on freenode sent in a bug report, boiling down to sort.c predating the FLAG_x macros and when I converted it I apparently screwed some stuff up. (I do some strange things with the macros,but if (flags*FLAG_f) blah(); CAN'T work...) The other issue this raised is making -f work with utf8, w