Lamar Owen <lamar(dot)owen(at)wgcr(dot)org> writes:
> Oh, and to make matters that much worse, on a RedHat system it doesn't
> matter if you build with or without --enable-locale -- locale support is
> in the libc used, and locale support gets used regardless of what you
> select on the configure line :-(.
I don't follow. Of course locale support is in libc; where else would
it be? But without --enable-locale, we will never call setlocale().
Surely even RedHat is not so broken that they default to non-C locale
in a program that has not called setlocale()? That directly contravenes
the letter of the ISO C standard, IIRC.
regards, tom lane