On Tue, Oct 24, 2023 at 12:31 AM Rob Landley wrote:
>
> On 10/20/23 01:05, Rob Landley wrote:
> >> (though i will accept the argument that "that's a toybox xargs test
> >> bug", but (a) we'll still need to fix that test
> >
> > Any idea off the top of your head which of the 31 tests it was? (I
On Thu, Oct 19, 2023 at 11:01 PM Rob Landley wrote:
>
> On 10/19/23 13:20, enh wrote:
> >> > if you had
> >> > ```
> >> > if (which->flags & TOYFLAG_LINEBUF) setvbuf(stdout, 0, _IOLBF, 0);
> >> > ```
> >> > we'd argue a lot less about buffering :-)
> >>
> >> The existing LINEBUF users are ascii,
On Tue, Oct 24, 2023 at 1:55 AM Rob Landley wrote:
>
> On 10/23/23 18:13, Ray Gardner wrote:
> > Rob, thanks for the info, I learned some stuff about pipes from it.
> >
> > I also looked up setvbuf(), and the standard says it may not be used after
> > a previous successful call to setvbuf(). That
On Thu, Oct 26, 2023 at 4:05 AM Rob Landley wrote:
>
> On 10/25/23 18:08, enh via Toybox wrote:
> > It can otherwise be quite awkward to get at this --- riscv64 puts it all
> > neatly in the ELF auxv, x86-64 has it all in /proc, arm64 only exposes
> > L1 instruction/data line sizes.
> >
> >
Luckily this was obvious because it broke the macOS build.
---
toys/posix/getconf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
0001-getconf-fix-sense-of-if-conditional.patch
Description: Binary data
___
Toybox mailing list
On 10/25/23 18:08, enh via Toybox wrote:
> It can otherwise be quite awkward to get at this --- riscv64 puts it all
> neatly in the ELF auxv, x86-64 has it all in /proc, arm64 only exposes
> L1 instruction/data line sizes.
>
> Annoyingly, none of musl, the BSDs, or Apple implement these sysconf()