httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject APLOG_NOERRNO useless
Date Thu, 16 May 2002 10:38:14 GMT
We never do anything with errno in our logging functions.

We can figure out whether or not there is an apr_status_t to deal with
by comparing the appropriate parameter with 0/APR_SUCCESS only, with
no regard to APLOG_NOERRNO.

APLOG_NOERRNO made sense before because errno wasn't an explicit
parameter.

The only conceivable use is so the caller can pass non-zero for the
apr_status_t but turn on the APLOG_NOERRNO flag so that no error
information is logged.  No sleep would be lost here over that
feature.

-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...

Mime
View raw message