SPECS: grub2.spec - builds for me too when switching to gawk

Elan Ruusamäe glen at delfi.ee
Wed Dec 6 20:19:45 CET 2006


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

-- 
glen


More information about the pld-devel-en mailing list