httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manoj Kasichainula <>
Subject Re: cvs commit: apache-2.0/src/modules/standard mod_auth_digest.c
Date Fri, 02 Jun 2000 01:04:22 GMT
On Thu, Jun 01, 2000 at 08:41:53PM -0400, Jeff Trawick wrote:
> . it is a bug in the app if it doesn't use the feature test macro 

Not really. If my module requires shared memory, why bother filling up
my code with macros that test for it? Just fail to compile.

> The APR_ENOTIMPL flavor of the function enables some possible
> simplification for app writers that play by the rules.  (Consider that
> you gotta check those return codes anyway; you can't just call
> ap_xlate_open() and ignore the return code anywhere.)

Yeah, but you have to add an extra check for ENOTIMPL. Error checking
code is intrusive enough as it is.

View raw message