Re: [PATCH 8/8] t0081 (line-buffer): add buffering tests
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jan 3, 2011, 01:34 UTC
- Message-ID
- <20110103013457.GB30791@burratino>
- In-Reply-To
- <20110103010716.GE30506@burratino>
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.