apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: EINVAL vs APR_EINVAL in apr_xlate_open()
Date Thu, 18 Jul 2002 23:06:40 GMT
Karl Fogel wrote:
> 
> 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.
> 

Not sure how that section of code is (and too lazy right now to take a
gander) but assuming that whatever checks the return value is aware
that it can rec' "traditional" errno values as well as APR_EINVAL,
+1 on EINVAL -> APR_EINVAL
-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
      "A society that will trade a little liberty for a little order
             will lose both and deserve neither" - T.Jefferson

Mime
View raw message