apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Is --enable-utf8 working everywhere?
Date Wed, 17 Jul 2002 21:39:52 GMT
Ulrich Drepper wrote:
> 
> On Wed, 2002-07-17 at 11:00, Sascha Schumann wrote:
> 
> >     int *func_call();
> >     #define errno *func_call()
> >=20
> >     I don't see the problem with "return errno;" though.
> 
> The problem is not
> 
>   return errno;
> 
> it is
> 
>   return errno ? errno : EINVAL;
> 

Are you suggesting something will change the value of 'errno' during
this code, such that the errno being tested isn't the value being
returned??

-- 
===========================================================================
   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