[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Is --enable-utf8 working everywhere?

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-07-18 02:22:46 CEST

I just checked in a change to apr-util/xlate/xlate.c following Ulrich's
recommend pattern of copy/test.

If any APR developer has strong feelings for the *other* way, then it's on
your head to fix it. I see no point to continuing this conversation, and a
lot of reason to simply have a frickin' fix in the code.

Cheers,
-g

On Wed, Jul 17, 2002 at 05:09:55PM -0700, Greg Stein wrote:
> On Wed, Jul 17, 2002 at 05:39:52PM -0400, Jim Jagielski wrote:
> > 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??
>
> I don't think Ulrich is concerned with *correctness*. His comments are about
> resulting code size and performance. I think Ulrich hasn't been clear in
> that regard, but you (Jim) are also (seemingly) tending to be a bit
> obstinate in wanting to do it your way :-)
>
> Cheers,
> -g
>
> --
> Greg Stein, http://www.lyra.org/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 18 02:21:03 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.