apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Fogel <kfo...@newton.ch.collab.net>
Subject Re: EINVAL vs APR_EINVAL in apr_xlate_open()
Date Thu, 18 Jul 2002 22:04:33 GMT
Justin Erenkrantz <jerenkrantz@apache.org> writes:
> In APR calls, if EINVAL is produced, it should use APR_EINVAL.
> And, for checking for error, the caller should use
> APR_STATUS_IS_EINVAL(s).  -- justin

Well, this is *us* generating the EINVAL by fiat, not getting it from
some lower-down system call.  

Maybe we should still go with APR_EINVAL, on the principle of least
surprise, though.  I'm not sure; trusting people with more APR
experience to know a good answer here.

View raw message