apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: Removing APR_STATUS_IS_SUCCESS macro
Date Fri, 10 May 2002 20:22:39 GMT
On Fri, May 10, 2002 at 01:16:55PM -0700, Justin Erenkrantz wrote:
> Due to some recent confusion with SVN and APR_STATUS_IS_SUCCESS,
> I'd like to consider removing this macro and just forcing
> everyone to do either a non-zero check or checking against the
> APR_SUCCESS value (which isn't strictly needed because APR_SUCCESS
> will always be 0, but that's fine with me).

If it does the same thing as (foo == APR_SUCCESS) then why remove it?

OTOH, I don't think we should be encouraging non-zero checks on status
values.

-aaron

Mime
View raw message