apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Hudson <ghud...@MIT.EDU>
Subject Re: Is --enable-utf8 working everywhere?
Date Wed, 17 Jul 2002 16:05:50 GMT
On Tue, 2002-07-16 at 21:14, Branko ─îibej wrote:
> Strictly speaking, Ulrich's patch is better, because there's no 
> guarantee that "errno" is a simple global variable. It could be 
> translated into a function call, for all you know -- depends on the 
> platform, linc implementation, threading support, etc. etc. So making a 
> copy makes sense.

So it's a function call.  So what?  It still returns a single stable
value.

If you're worried about speed, that's ridiculous.  This is an error
case; a few cycles here or there isn't going to matter.  (And it's not
like errno is ever a slow function call, when it's a function call.)


Mime
View raw message