Re: [BUG] reading from FIFO broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martijn Dekker <martijn@xxxxxxxx> 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 <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux