Re: [Toybox] [PATCH] Clarify fallocate help text.

2016-09-30 Thread enh
(i've no idea what the right way to educate users is, but this at least starts the conversation...) On Fri, Sep 30, 2016 at 3:05 PM, enh wrote: > -l isn't optional, and fallocate accepts the same suffixes as truncate. > > (As do many other commands. We might prefer to just *not*

[Toybox] [PATCH] Clarify fallocate help text.

2016-09-30 Thread enh
-l isn't optional, and fallocate accepts the same suffixes as truncate. (As do many other commands. We might prefer to just *not* document this anyway and have to teach people that toybox [mostly] accepts the same set of suffixes everywhere. dd is a place where the suffixes differ, but the fix

Re: [Toybox] Fwd: [PATCH] Show thread names with "ps -T" on Android.

2016-09-30 Thread Rob Landley
On 09/29/2016 11:12 AM, enh wrote: > you'd have been pleased by some of the stuff i've seen on internal > bugs recently --- all kinds of "fancy" command-line usage with no-one > [except me!] giving a second thought to "do we actually support > that?". > > did you resolve your spam filter issues?

Re: [Toybox] --version for all commands?

2016-09-30 Thread dmccunney
On Fri, Sep 30, 2016 at 4:32 PM, enh wrote: > (on the "it was good enough for busybox" front: is there an OS where > busybox is the default? or are folks with busybox implementing their > /bin all cognizant of the fact because they had to manually do that to > themselves in the

Re: [Toybox] --version for all commands?

2016-09-30 Thread enh
On Fri, Sep 30, 2016 at 1:17 AM, Rob Landley wrote: > On 09/29/2016 06:41 PM, enh wrote: >> is there a reason why --help works for all commands, > > Not all, see commit e98089ab9a4b. > > That's part of the reason I've been reluctant to add more globally > recognized --options

Re: [Toybox] [BUG] du applet prints wrong output for 2GB+ files

2016-09-30 Thread enh
those particular ones are, though it would be better to explicitly cast to uintptr_t (or use a data/ptr union in struct dirtree) to make it clear we're doing this on purpose. i assumed rob would have a strong opinion one way or the other though... On Fri, Sep 30, 2016 at 1:39 AM, darken

Re: [Toybox] [BUG] du applet prints wrong output for 2GB+ files

2016-09-30 Thread darken
I can confirm that the patch works. With the patch there are a few warnings during compilation though, safe to ignore? See: https://gist.github.com/d4rken/710cd1ab6265e062aaa2374e7be75452 2016-09-29 20:44 GMT+02:00 enh : > the attached patch fixes LP32 for me, without

Re: [Toybox] --version for all commands?

2016-09-30 Thread Rob Landley
On 09/29/2016 06:41 PM, enh wrote: > is there a reason why --help works for all commands, Not all, see commit e98089ab9a4b. That's part of the reason I've been reluctant to add more globally recognized --options (and made the one we have disablable in kconfig), but if there's a good reason to...