Bruce Momjian <[EMAIL PROTECTED]> writes:
> Yes, I see it here on BSD/OS 4.01 with --enable_locale.  It is from:

> lc->lc_messages = setlocale(LC_MESSAGES,  NULL);

> BSDI does not define LC_MESSAGES as part of its setlocale() interface. 
> Is this a standard feature that BSDI is missing, or some specific
> extension?

HPUX has LC_MESSAGES, and I don't usually find them to be out on the
bleeding edge of conformance to new standards.  The HPUX man page
for setlocale() --- which specifically lists LC_MESSAGES --- says

STANDARDS COMPLIANCE
     setlocale(): AES, SVID3, XPG3, XPG4, FIPS 151-2, POSIX.1, ANSI C

which are all pretty ancient.  So I suspect BSDI is behind the curve.

Next question is what to do about it.  We could do #ifdef LC_MESSAGES,
but what do we need to do if it's not defined?

                        regards, tom lane

Reply via email to