Subject: Re: workaround for pkg/14051
To: Noriyuki Soda <soda@sra.co.jp>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-userlevel
Date: 01/21/2002 11:58:53
On Mon, Jan 21, 2002 at 09:48:52AM +0900, Noriyuki Soda wrote:
> No problem.
> Because if LANG is set and LC_MESSAGES isn't set, the value of LANG
> will be used as default value of LC_MESSAGES.
> (See setlocale(3) man page on Solaris, for example).
> So, using LC_MESSAGES preserves backward compatibility.

But our libc uses catopen, not setlocale. Or maybe both systems (catopen
and friends, and setlocale and friends) should be merged ?

> 
> BTW, SUSv2 (*1) defines NL_CAT_LOCALE flag to use LC_MESSAGES on
> catopen(3), but it seems our catopen(3) doesn't look at it...
> Is this right thing? (This is questions to Klaus....)

Yes, our catopen only use LANG.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--