[Pkg-mc-devel] Bug#491584: mc: Sorting order differs from that of ls

Andrey cmr.Pent at gmail.com
Sun Jul 20 17:22:34 UTC 2008


Package: mc
Version: 2:4.6.2~git20080311-2+b1
Severity: minor

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 at 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 at 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.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (1000, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-486
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mc depends on:
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  libglib2.0-0                  2.16.3-2   The GLib library of C routines
ii  libgpm2                       1.20.4-2   General Purpose Mouse - shared lib
ii  libslang2                     2.1.3-3    The S-Lang programming library - r

mc recommends no packages.

-- no debconf information





More information about the Pkg-mc-devel mailing list