SPECS: grub2.spec - builds for me too when switching to gawk
Patryk Zawadzki
patrys at pld-linux.org
Wed Dec 6 20:31:39 CET 2006
Dnia 06-12-2006, śro o godzinie 21:19 +0200, Elan Ruusamäe napisał(a):
> 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 locale
> LANG=en_US.UTF-8
> LC_CTYPE="C"
> LC_NUMERIC="C"
> LC_TIME="C"
> LC_COLLATE="C"
> LC_MONETARY="C"
> LC_MESSAGES="C"
> LC_PAPER="C"
> LC_NAME="C"
> LC_ADDRESS="C"
> LC_TELEPHONE="C"
> LC_MEASUREMENT="C"
> LC_IDENTIFICATION="C"
> LC_ALL=C
I think LANG has priority when using gettext. (Maybe only if LC_ALL is
not set.)
--
Patryk Zawadzki <patrys at pld-linux.org>
PLD Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: To jest =?UTF-8?Q?cz=C4=99=C5=9B=C4=87?= listu
podpisana cyfrowo
Url : /mailman/pipermail/pld-devel-en/attachments/20061206/6f289d1b/attachment.sig
More information about the pld-devel-en
mailing list