From: Jonathan Nieder <hidden> Date: 2016-06-15 22:50:19
Jonathan Nieder wrote:
First check that fread can handle a 0-length read from an empty fifo.
The writing end of the fifo is opened in advance in a subshell since
even 0-length reads are allowed to block when the writing end of a
pipe is not open.
Erm, what I mean here is that open(O_RDONLY) will block until the
writing end has been opened.