httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Powe <mich...@trollope.org>
Subject Re: [users@httpd] Where is NO_ERROR #define'd?
Date Thu, 29 Jul 2010 19:06:58 GMT
On Wed, Jul 28, 2010 at 07:30:24PM -0400, Eric Covener wrote:
> 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.

Hello,

Okay, thanks.  #readfail -- leads to so many avoidable errors.

Thanks.

mp

-- 
Michael Powe		michael@trollope.org		Naugatuck CT USA

"The secret to strong security: less reliance on secrets."
-- Whitfield Diffie

Mime
View raw message