[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

Re: [Toybox] ls -Z with relative paths

2016-01-15 Thread enh
ping? (i was hoping to get this into this friday's android toybox update. it's my only internal toybox bug that's > 1wk old at the moment.) On Tue, Jan 12, 2016 at 12:56 PM, enh wrote: > On Mon, Jan 11, 2016 at 1:17 PM, Rob Landley wrote: >> On 01/09/2016 03:38 PM, enh wrote: >>> i have the foll

Re: [Toybox] ls -Z with relative paths

2016-01-15 Thread Rob Landley
Darn it, I was sure I'd committed that already. The downside of git is I have 3 machines with active trees on them, although it's _mostly_ on the netbook... Try now? Rob On 01/15/2016 03:03 PM, enh wrote: > ping? (i was hoping to get this into this friday's android toybox > update. it's my only

Re: [Toybox] ls -Z with relative paths

2016-01-15 Thread enh
yep, see it now. thanks. On Fri, Jan 15, 2016 at 3:08 PM, Rob Landley wrote: > Darn it, I was sure I'd committed that already. > > The downside of git is I have 3 machines with active trees on them, > although it's _mostly_ on the netbook... > > Try now? > > Rob > > On 01/15/2016 03:03 PM, enh wr

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

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.