christoph.mallon at gmx.de
Mon Dec 3 02:51:46 PST 2007
Dag-Erling Smørgrav wrote:
> Andrey Chernov <ache at nagual.pp.ru> writes:
>> David Schultz <das at FreeBSD.org> writes:
>>> test-printfloat is failing on my machine due to the fact that the
>>> default locale in FreeBSD seems to have a thousands separator now.
>>> I thought the default locale wasn't supposed to. Can someone
>> Default locale don't have thousands separator as you can see:
>> Something wrong in your default locale setup, use LC_ALL=C for sure.
> If a regression test is dependent on a specific locale, it should set
> the locale at startup rather than rely on the system default.
Don't C programs per definition always start in the "C" locale, not
matter what LC_ALL etc. are set to?
Ah, I just checked the source code: There is a setlocale(LC_NUMERIC, "")
More information about the cvs-src