Re: cvs commit: src/lib/libc/locale utf8.c

[ Available lists | Index of cvs-src | Month of Oct 2007 | Week of 25 Oct 2007 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Daniel Eischen <eischen@vigrid.com>
Date
25 Oct 2007 19:48:53
Subject
Re: cvs commit: src/lib/libc/locale utf8.c
Message-ID
Pine.GSO.4.64.0710251528370.29092@sea.ntplx.net


[ Hide this part ]
On Thu, 25 Oct 2007, Andrey Chernov wrote:

> On Thu, Oct 25, 2007 at 03:17:32PM -0400, Daniel Eischen wrote:
>> Why not simply avoid the error check for inlines. Solaris
>> doesn't seem to add a check, it just does the conversion.
>> The non-inlined versions do error checking.
>
> Although standard permit this, it will cause lots of programs to break
> here and there and even may cause core dump. I don't think it is what
> everybody wants. Non-inlined versions a) not used nowdays b) must be exact
> as inlined.

If programs are incorrectly written, and they use inlines, then
that is not our fault :-)

The problem with trying to do error checking and other
esoteric things with inlines is that it exposes our private
parts to the world. You can get arrested for that ;-)

How much juice are we really trying to squeeze out of
these inlines anyway?

--
DE


Elapsed time: 0.231 seconds