Re: Fwd: Behavior change in Dash pipes/read?

Herbert Xu <[email protected]> Tue, 3 Mar 2026 18:38:46 +0900
Newsgroups org.kernel.vger.dash
Message-ID <[email protected]>
On Sun, Mar 01, 2026 at 07:53:22PM +0200, Jyri-Matti Lähteenmäki wrote:
>
> Why Only on Mac?
> 
> The key is in configure.ac:200-201:
>     if test "$use_libedit" != "yes"; then
>         AC_DEFINE([SMALL], 1, [Define if you build with -DSMALL])
> * --with-libedit succeeds → SMALL is not defined → IS_DEFINED_SMALL == 0
> * --with-libedit fails or is omitted → SMALL is defined → IS_DEFINED_SMALL

Excellent work.  So it was --with-libedit that's the key to reproducing
this.  I was distracted by tee(2) so didn't even look in that direction.

I can reproduce this now and I'll send you a patch soon.

Thanks,
-- 
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt