[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: Ulrich Drepper <drepper_at_redhat.com>
Date: 2002-07-17 18:15:12 CEST

On Wed, 2002-07-17 at 08:44, Ryan Bloom wrote:

> While errno is not a simple variable, compilers are smart enough to
> treat it as if it is a simple variable, so just 'return errno' works
> everywhere.

Wrong. errno is in fact on most systems a hidden function call and the
C language does not have any provisions to say that a function call can
be eliminated because it always returns the same value and has no side
effects. We have such a feature in gcc but it's not evailable
everywhere.

And the fact that you don't make copies in APR anywhere does not mean
anything.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Received on Wed Jul 17 18:16: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.