httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takashima, Makoto" <takas...@poem.ocn.ne.jp>
Subject Re: Problem with non-blocking write to pipe
Date Sun, 13 Oct 2002 11:50:10 GMT
One correction.

On Sun, 13 Oct 2002 20:40:21 +0900, takasima@poem.ocn.ne.jp wrote:
> 
>                     /* write request of {PIPE_BUF} bytes or less may fail */
>                     /* because it is atomic when writing to pipe or FIFO  */
>                     while (rv == (apr_size_t)-1 &&
>                            *nbytes < PIPE_BUF && errno == EAGAIN)

it sould be :

                    while (rv == (apr_size_t)-1 &&
                           *nbytes <= PIPE_BUF && errno == EAGAIN)

--
takasima@poem.ocn.ne.jp


Mime
View raw message