[Mesa-dev] [PATCH 3/5] mesa: update mangle script to force locale

Ilia Mirkin imirkin at alum.mit.edu
Tue Aug 12 06:13:54 PDT 2014


On Tue, Aug 12, 2014 at 3:07 AM, Michel Dänzer <michel at daenzer.net> wrote:
> On 12.08.2014 04:07, Ilia Mirkin wrote:
>> The sorting is different with LC_ALL=C. To avoid different people's
>> locale settings from fighting, force it to the one that was used to
>> generate the current file.
>>
>> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
>> ---
>>
>> Not sure if there's a better way of doing it... perhaps forcing to C and just
>> regenerating with that may be better? Not sure.
>
> I think so, the en_US.utf8 locale may not be available everywhere (in
> fact, it currently isn't on this system).

I was afraid that'd be the case...

Would having a giant diff which alters the sort order be OK? I think
the sorting of numbers vs letters is different with LANG=C vs
LANG=en_US.utf8. Perhaps there's some other way of forcing that?

  -ilia


More information about the mesa-dev mailing list