[Pkg-mc-devel] Bug#484488: mc: special path names work also on the filesystem

Baurzhan Ismagulov ibr at radix50.net
Wed Jun 4 11:14:19 UTC 2008


Package: mc
Version: 2:4.6.2~git20080311-1
Severity: normal


Hello Patrick,

To reproduce:

ln -s a at b.c.1:2 .#a

The first directory read in that directory results in one of the
following error messages:

Can't open /dev/fd0: No such device or address
Cannot initialize 'A:'

Or:

Can't exec "mdir": No such file or directory at /usr/share/mc/extfs/a line 80.
readline() on closed filehandle FILE at /usr/share/mc/extfs/a line 81.

After that, .#a is shown as a directory. I'm not sure whether this is
intended, but I'd definitely like to see it as a symlink as usual. IMHO,
special path names like /#a should only work on the mc sub-shell command
line and not on the filesystem. If this behavior has valid uses and is
intended, at least an option to turn it off would be nice.

Thanks in advance,
Baurzhan.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22-2-k7
Locale: LANG=C, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

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

mc recommends no packages.

-- no debconf information





More information about the Pkg-mc-devel mailing list