SPECS: grub2.spec - builds for me too when switching to gawk
Jakub Bogusz
qboosh at pld-linux.org
Wed Dec 6 20:30:41 CET 2006
On Wed, Dec 06, 2006 at 09:19:45PM +0200, Elan Ruusamäe wrote:
> On Tuesday 05 December 2006 21:05, Przemyslaw Iskra wrote:
> > > it's "default" already:
> > >
> > > $ rpm -E %build
> > > %build
> > > LANG=C
> > > export LANG
> > > unset DISPLAY ||:
> > > unset LINGUAS ||:
> >
> > not good enough
> >
> > [sparky at pepec ~]$ LC_ALL= LC_NUMERIC=ca_ES LANG=C LINGUAS= gawk 'BEGIN { A
> > = 3; A = A / 2; printf A "\n"; }' 1,5
> > [sparky at pepec ~]$ LC_ALL= LC_NUMERIC=POSIX LANG=C LINGUAS= gawk 'BEGIN { A
> > = 3; A = A / 2; printf A "\n"; }' 1.5
> >
> > I think we should set LC_ALL=C, because if someone sets LC_ALL to
> > anything it will mess up a lot.
>
> just LC_ALL=C, or LANG=C, LINGUAS=C reset needed too?
LC_ALL=C is sufficient for gettext-based programs (even disables
LANGUAGE setting).
LANG=C can be used additionally in case of badly handled (non-gettext)
locales.
LINGUAS= (empty) can be used for configure to ensure that installing
of some locales is not disabled.
--
Jakub Bogusz http://qboosh.pl/
More information about the pld-devel-en
mailing list