httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Where is NO_ERROR #define'd?
Date Wed, 28 Jul 2010 23:30:24 GMT
On Wed, Jul 28, 2010 at 6:26 PM, Michael Powe <michael@trollope.org> wrote:
> Hello,
>
> The following define appears in apr_errno.h for the version of APR
> used with httpd 2.0 series:
>
> #define APR_STATUS_IS_SUCCESS(s)                ((s) == APR_SUCCESS /
> || (s) == APR_OS_START_SYSERR + NO_ERROR)
>
> Where is NO_ERROR #defined?  I've grepped high and low, can't find
> it.
>
> This define causes a runtime error of the module in 2.2 but not in 2.0
> line. The immediate fix is trivial -- I did that -- but I want to know
> where the change was made.

NO_ERROR is a macro defined by the system on OS/2.  The snippet you
included from apr_errno.h is wrapped by an OS/2 feature test.


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message