Re: svn commit: rev 1062 - trunk/subversion/clients/cmdline
From: Greg Stein <gstein_at_lyra.org>
Date: 2002-01-25 20:14:47 CET
On Fri, Jan 25, 2002 at 11:43:45AM -0600, kfogel@tigris.org wrote:
You asked me once about APR_STATUS_IS_SUCCESS ...
IMO, the macro is bogus. The other apr_errno macros are used to check the
But there is only /one/ "success" code. So testing directly against
if (status == APR_SUCCESS) ...
Furthermore, APR_SUCCESS is *guaranteed* to be zero. That is its definition.
if (status) ...
Personally, I'd suggest that we *not use* the macro. Testing against
Cheers,
-- Greg Stein, http://www.lyra.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Sat Oct 21 14:37:00 2006 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.