Re: [Toybox] [PATCH] fix human_readable output for du

2015-01-17 Thread enh
this was the du patch. the documentation of the BSD function is https://www.freebsd.org/cgi/man.cgi?query=humanize_number&sektion=3&n=1 and even just between dd and du a fair number of those flags are used. i didn't know whether you'd prefer i fix all the -h'es (and add the missing ones) or just wo

Re: [Toybox] licensing

2015-01-17 Thread stephen Turner
On Sat, Jan 17, 2015 at 5:38 PM, Rob Landley wrote: > On 01/16/2015 11:16 AM, stephen Turner wrote: > > I found a permissive licese same as your 0-clause but listed on the > > internet under http://unlicense.org > > Yeah, they found me last year: > https://twitter.com/theunlicense/status/45166548

Re: [Toybox] avoiding #ifdef

2015-01-17 Thread Rob Landley
On 01/16/2015 07:01 PM, enh wrote: > thanks for changeset 1661:d4bc084916fd "id.c #ifdefectomy. (ifdefs > belong in headers, not in C code.)". at the time i wrote the change > that applied to i thought "i know the style is to avoid #if, but i'm > not sure what that's supposed to look like here", an

Re: [Toybox] toybox in Android status

2015-01-17 Thread Rob Landley
On 01/17/2015 01:53 PM, Rob Landley wrote: > On 01/17/2015 12:09 AM, enh wrote: > So anyway I checked that in, and now I'm porting your patch on top of > that change and I hit the _weirdest_ thing where "./touch nonexistent" > doesn't cause an error because utimensat() on a file that didn't exist >

Re: [Toybox] licensing

2015-01-17 Thread Rob Landley
On 01/16/2015 11:16 AM, stephen Turner wrote: > I found a permissive licese same as your 0-clause but listed on the > internet under http://unlicense.org Yeah, they found me last year: https://twitter.com/theunlicense/status/451665489929183232 Another big public domain license is CC0 from the c

Re: [Toybox] toybox in Android status

2015-01-17 Thread Rob Landley
On 01/17/2015 12:09 AM, enh wrote: > more progress... I need to update roadmap.html. > next to look at: > > df --- missing -h; column alignment broken. no need to support old > Android output format. I have a half-finished rewrite of this to do the ls -l "buffer the output, count up the siz