Re: New g_ascii_strtod/g_ascii_dtostr() patch



On Fri, 5 Oct 2001, Tim Janik wrote:

> On Thu, 4 Oct 2001, Alex Larsson wrote:
> > He proposed that we should set errno to 0 in g_ascii_strtod(). What do 
> > people think about this? Personally i don't like doing magic that makes 
> > it behave in a way the standard call does.
> 
> for g_ascii_strtod(), we're pretty free to reset errno to 0, since
> we're not 1:1 mimicking a libc function there.

We are mimicking an "old" pre-locales libc function though.

/ Alex






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