apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@ebuilt.com>
Subject Re: APR file_io/win32/readwrite.c
Date Wed, 20 Jun 2001 00:49:45 GMT
On Tue, Jun 19, 2001 at 08:30:13PM -0400, Cliff Woolley wrote:
> In the following lines from readwrite.c line 90, should the if()
> conditional clause really be an assignment, or is it a typo?  It really
> seems like it should be an equality test to me...
> 
>                 rv = apr_get_os_error();
>                 if (rv = APR_FROM_OS_ERROR(ERROR_BROKEN_PIPE))
>                     return APR_SUCCESS;

Definitely a bug.  Why isn't it giving a warning?

....Roy


Mime
View raw message