bug-gnulib
[Top][All Lists]
Advanced

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

Re: c-strtod: improve error checking


From: Paolo Bonzini
Subject: Re: c-strtod: improve error checking
Date: Wed, 21 Jan 2009 12:48:17 +0100
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)

> -  locale_t c_locale = newlocale (LC_ALL_MASK, "C", 0);
> +  locale_t c_locale;
> +  int saved_errno;
> +
> +  c_locale = newlocale (LC_ALL_MASK, "C", (locale_t)0);

Can we cache c_locale in a static variable?

Paolo




reply via email to

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