Ticket #4 (new defect) — at Initial Version
savannah: Incorrect sorting of localized filenames
Reported by: | slavazanko | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 4.7 |
Component: | mc-core | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
Original: http://savannah.gnu.org/bugs/?8158
Submitted by: | None | Submitted on: | Tue 16 Mar 2004 02:07:53 AM UTC |
Category: | Screen output | Severity: | 3 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
Release: | 4.6.0 | Operating System: | GNU/Linux |
Discussion:
Tue 16 Mar 2004 02:07:53 AM UTC, original submission: I have a koi8-r locale and some files with russian names. When sorting configured as case sensitive, I can see a new russian alphabet at the panels :) I look in source code and found an error - the "strcmp" function used for sorting all names, but it's doesn't know about any locale. So it should be replaced by something else. For example, "wcscmp". Here is the patch to correct this problem. It's some big, but I think, it's will be work with any locales.
Change History
Note: See
TracTickets for help on using
tickets.