Ticket #4 (new defect) — at Initial Version

Opened 15 years ago

Last modified 10 years ago

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:NoneSubmitted on:Tue 16 Mar 2004 02:07:53 AM UTC
Category:Screen outputSeverity:3 - Normal
Status:NonePrivacy:Public
Assigned to:NoneOpen/Closed:Open
Release:4.6.0Operating 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

Changed 15 years ago by slavazanko

Note: See TracTickets for help on using tickets.