[Toybox] [PATCH] cpio: fixes for Android kernel build.

Rob Landley rob at landley.net
Fri Aug 21 15:18:26 PDT 2020


On 8/21/20 12:14 PM, enh wrote:
> i think even for those of us who had to endure the days of commercial unixes,

As a teenager I downloaded a lot of amiga software from a dialup
https://en.wikipedia.org/wiki/Eunice_(software) system, which was a bit like
cygwin for the vax (but at least mercifully gnu-free, given that it was
something like 1987).

I've SEEN THINGS.

> tar is just a weird special case. this possibility certainly never occurred to
> me when writing my test cases. i don't think you'd even realize it was a
> possibility from the POSIX or GNU man pages either...

Compare "ps w" output with "ps -w" output (with and without the dash changes
behavior), except it uses modern option collating either way because "ps ow pid"
thinks w is the argument to o and wants either "ps wopid" or "ps opid -w"
because it's still doing the "magic dash on FIRST option only" thing but not
changing the option collating behavior.

You learn not to trust. Just because I'M trying to be consistent doesn't mean
anybody else has. (ESPECIALLY not GNU.)

Still, if it wasn't for the continued existence of Peter Anvin I'd probably try
to push a patch upstream into the kernel to use less broken syntax...

>     Rob

Rob



More information about the Toybox mailing list