[Pkg-mc-devel] Bug#652883: mc: entering deeply nested directory is slow

Jakub Wilk jwilk at debian.org
Wed Dec 21 12:06:35 UTC 2011


Package: mc
Version: 3:4.7.0.9-2
Severity: normal

It can take significant amount of time for mc to enter a deeply nested 
directory. To reproduce:

1) Create a deeply nested directory structure, e.g:
$ yes | head -n 100 | tr '\n' '/' | xargs mkdir -p

2) Notice that entering each subdirectory is slower and slower...

This does not happen if using the -u option or with non-UTF-8 locale 
(e.g. LC_ALL=C).


-- System Information:
Debian Release: wheezy/sid
   APT prefers unstable
   APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mc depends on:
ii  e2fslibs      1.42-1
ii  libc6         2.13-23
ii  libcomerr2    1.42-1
ii  libglib2.0-0  2.30.2-4
ii  libgpm2       1.20.4-4
ii  libslang2     2.2.4-5

Versions of packages mc recommends:
ii  mime-support  3.51-1

-- 
Jakub Wilk





More information about the Pkg-mc-devel mailing list