Age | Commit message (Collapse) | Author |
|
macOS remains awkward, though, but this retains our Android/Linux
behavior and is closer to the platform's getconf(1) for macOS.
Strictly macOS denies all knowledge of UIO_MAXIOV, but the "undefined"
you'll get from this patch seems closer than the "1024" we used to
give.
|
|
Several parameters common on Linux are missing on macOS.
|
|
UIO_MAXIOV/_SC_UIO_MAXIOV.
|
|
|
|
|
|
remove curly brackets around single line if().
|
|
Also improve the -l output to include sections (because you need to
know whether you're dealing with a pathconf variable to supply the
required path).
|
|
glibc doesn't have _XOPEN_UUCP (though bionic does), which meant that the
generated array of values was out of sync with the hand-written array of
names.
This patch removes that by using a unified array and the preprocessor.
A side benefit of this for me is that it makes toybox easier to integrate
in the AOSP build system (the less shell script magic, the better).
|
|
|
|
|