[U-Boot] [PATCH] fix linker generated lists on non-C locales

Marek Vasut marex at denx.de
Sun Dec 2 20:15:01 CET 2012


Dear Pavel Herrmann,

[...]

> > > > > -	LC_COLLATE=C sort -u | \
> > > > > +	LC_ALL=C sort -u | \
> > > > 
> > > > How will this work? LC_COLLATE is supposed to adjust the behavior of
> > > > "sort" command, without it, "sort" will not behave as expected.
> > > 
> > > Clearly, LC_COLLATE is not enough for it to behave correctly, as seen
> > > on my
> > > setup.
> > > This works because LC_ALL sets LC_COLLATE, as well as all other LC_*
> > > environment variables.
> > 
> > Do you have any reference where I can verify this claim please?
> 
> Actually, the problem seems to be a little different - when i have LC_ALL
> set, changing LC_COLLATE doesnt do anything (try running "LC_COLLATE=crazy
> locale" with LC_ALL set)
> anyways, the fix remains the same.

Ugh, can you please provide any relevant documentation? Besides, is the commit 
message wrong now?

Best regards,
Marek Vasut


More information about the U-Boot mailing list