GNU GRUB - Bugs: bug #34522, Wrong sorting with German locale
You are not allowed to post comments on this tracker with your current authentication level.
bug #34522: Wrong sorting with German locale
Submitter: | Moritz Schlarb <moschlar> | ||
Submitted: | Mon 10 Oct 2011 07:30:04 PM UTC | ||
Category: | Configuration | Severity: | Major |
Priority: | 5 - Normal | Item Group: | None |
Status: | Fixed | Privacy: | Public |
Assigned to: | None | Originator Name: | |
Open/Closed: | Closed | Release: | other |
Release: | Reproducibility: | None | |
Planned Release: | None |
Sun 16 Oct 2011 01:17:23 PM UTC, comment #5: |
Vladimir Serbinenko <phcoder> |
Sun 16 Oct 2011 01:03:25 PM UTC, comment #4: Thats strange, and I tested sorting `ls` output with different locales, but couldn't see this issue there, so I thought it wouldn't be a general locale problem (which would be libc then...) |
Moritz Schlarb <moschlar> |
Sun 16 Oct 2011 12:53:35 PM UTC, comment #3: The funny thing is that it doesn't happen with Swiss German (our) locale but happens with German one |
Vladimir Serbinenko <phcoder> |
Sun 16 Oct 2011 12:44:04 PM UTC, comment #2: I'm sorry, I must have overlooked the subject field while submitting the bug... ;)
|
Moritz Schlarb <moschlar> |
Sun 16 Oct 2011 12:38:24 PM UTC, comment #1: Such undescriptive title usually makes debugging slower. Renaming.
|
Vladimir Serbinenko <phcoder> |
Mon 10 Oct 2011 07:30:04 PM UTC, original submission:
When using LANG="de_DE.UTF-8", grub-mkconfig is sorting kernels incorrect:
|
Moritz Schlarb <moschlar> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2012-03-04 | phcoder | Status | None | Fixed | |
Open/Closed | Open | Closed | |||
2011-10-16 | phcoder | Summary | grub-1.99 | Wrong sorting with German locale |
Powered by Savane 3.13-4448.
Corresponding source code
Minimal testcase is:
echo -e 3.0.0 \\n2.6.38|LC_NUMERIC=de_DE.UTF-8 sort -n
it sorts them in a wrong order but
echo -e 3.0.0 \\n2.6.38|LANG=de_DE.UTF-8 LC_NUMERIC=C sort -n
sorts them right.