[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] new gnulib modules c-strtod, c-strtold
From: |
Bruno Haible |
Subject: |
Re: [Bug-gnulib] new gnulib modules c-strtod, c-strtold |
Date: |
Sun, 8 Aug 2004 17:14:38 +0200 |
User-agent: |
KMail/1.5 |
Paul Eggert wrote:
> I installed these two new modules from coreutils.
> They act like strtod and strtold, except they always use the C locale.
Thanks, this will help fixing things like "acroread" bug in German UTF-8
locale.
> + locale_t c_locale = newlocale (LC_ALL_MASK, "C", 0);
Isn't it more modern style to pass NULL instead of 0 when a null pointer is
meant? It makes no difference in this particular case, but it does when
passing args to a varargs function in 64-bit mode.
Bruno