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

Daniel Eischen eischen at vigrid.com
Thu Oct 25 12:48:53 PDT 2007


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


More information about the cvs-src mailing list