bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: c-strtod threading and documentation problems


From: Michael Gold
Subject: Re: c-strtod threading and documentation problems
Date: Fri, 23 Jan 2009 00:41:15 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

On Wed, Jan 21, 2009 at 12:39:50 +0100, Bruno Haible wrote:
> Yes. While the strtod specification explains the locale dependency of the
> decimal point, it does not do so for the digits; hence it's safe to assume
> that the digits understood by strtod are only '0'..'9'.

Actually, C99 states 'In other than the "C" locale, additional locale-
specific subject sequence forms may be accepted'. This is pretty vague
so it could refer to other types of digits (though it doesn't matter
whether it's talking about digits or grouping characters, etc., since
filtering unknown characters would handle both cases).

> > Do you want me to submit a patch that does this preprocessing? I guess
> > decimal_point_char would need to go into a new module if localeconv
> > isn't safe to use
> 
> Yes, this would be welcome: it would allow c_strtod to be multithread-safe.
> 
> Do you already have copyright assignments with the FSF in place, for your
> gnulib contributions? If not, then now is the right time to start the
> process (request the forms from the FSF, sign them and snail mail them back).

I just sent the request form to address@hidden

-- Michael

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]