[Toybox] Pending todoness.

enh enh at google.com
Thu Sep 16 18:37:53 PDT 2021


(i think you need a needspace=1 in the Android case to make things like
`uname -os` look right; "AndroidLinux" vs "Android Linux"? and the
non-Android case now behaves differently than other unames for `uname -os`;
just "Linux" rather than "Linux Linux".)

On Thu, Sep 16, 2021 at 6:32 PM Rob Landley <rob at landley.net> wrote:

> On 9/16/21 8:14 PM, enh wrote:
> > given that we've never had a `uname -o` on Android before, by definition
> no-one
> > can have any expectations of what it should output, so seems fine to me.
> (you
> > could make the same argument for just letting it output "Linux", of
> course, but
>
> That's what uname says with no arguments. (Default output is -s I think?)
>
> > since there's _potentially_ value in knowing you're on Android.)
> >
> > i assume the above was the question you were actually asking, but i
> can't help
> > follow on to ... afaict this non-POSIX, non-BSD, non-macOS flag only
> exists to
> > put "GNU" in front of "Linux" on Linux systems (which are the only
> systems that
> > implement the flag anyway)?
>
> I remember why I made the change now...
>
> > does anyone have an actual _use_ for this flag?
>
> Well, they might now. :)
>
> Rob
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210916/64ccf7c9/attachment-0001.htm>


More information about the Toybox mailing list