Ticket #1586 (new defect) — at Initial Version

Opened 15 years ago

Last modified 12 years ago

Sorting order differs from that of ls

Reported by: pent Owned by:
Priority: major Milestone: Future Releases
Component: mc-core Version: 4.7.0-pre1
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

The file sorting order in mc differs from that of ls in my locale:

┌<─ ~/test ─────────────────────────────────────v>┐
│            Имя            │Размер │Время правки │
│/..                        │-ВВЕРХ-│             ▴
│ Test.txt                  │      0│Июл 20 21:14 ◈
│ a.txt                     │      0│Июл 20 21:15 ▒
│ b.txt                     │      0│Июл 20 21:15 ▒

pent@neo:~/test$ ls -l
итого 0
-rw-r--r-- 1 pent pent 0 Июл 20 21:15 a.txt
-rw-r--r-- 1 pent pent 0 Июл 20 21:15 b.txt
-rw-r--r-- 1 pent pent 0 Июл 20 21:14 Test.txt

pent@neo:~/test$ LANG=C ls -l
total 0
-rw-r--r-- 1 pent pent 0 Jul 20 21:14 Test.txt
-rw-r--r-- 1 pent pent 0 Jul 20 21:15 a.txt
-rw-r--r-- 1 pent pent 0 Jul 20 21:15 b.txt

I think mc should respect user locale settings.
I'm ready to provide any additional info.

Andrey Paramonov

Note: See TracTickets for help on using tickets.