Re: [BUG] reading from FIFO broken

Herbert Xu <[email protected]>
Newsgroups org.kernel.vger.dash
Message-ID <[email protected]>
Martijn Dekker <[email protected]> wrote:
>
> ...reading from a FIFO is broken, at least on macOS 12.7.5. It seems like the 
> 'read' command can no longer read anything from a FIFO.
> 
> Reproducer:
> 
> $ dash -c 'trap "rm fifo" 0; mkfifo fifo;
>        echo OK >fifo & read r <fifo; echo "${#r}:$r"'
> 0:
> 
> Expected output:
> 
> 2:OK

I can't reproduce this under Linux.  Could you please run it under
strace for me?

Thanks,
-- 
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.