From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sun, 2 Dec 2012 20:15:01 +0100 Subject: [U-Boot] [PATCH] fix linker generated lists on non-C locales In-Reply-To: <1401096.DqHEXA3RTS@bloomfield> References: <1354470210-30801-1-git-send-email-morpheus.ibis@gmail.com> <201212021912.17415.marex@denx.de> <1401096.DqHEXA3RTS@bloomfield> Message-ID: <201212022015.01618.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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