[Pkg-mc-devel] Bug#520026: mc: ESC+TAB unnecessarily quotes ~ in path names

Denis Briand denis at narcan.fr
Tue Mar 31 14:17:16 UTC 2009


tags 520026 confirmed
stop

Hi,
I can reproduce this bug.
when enter the following command line :

	cd ~/Desk 			completion-->  cd \~/Desk

and also with:
	
	cd ~/ 				completion-->  cd \~/

and
	 
	~/ 					completion-->  \~/

I work on this bug since 3 days without find exactly where is the issue.
But with gdb I could find functions who are calling by "~/" :

src/complete.c
==============
line 75 -- filename_completion_function()



and 


mhl/escape.h
============
line 72 -- mhl_shell_unescape_buf()  called in filename_completion_function



I think the issue come from the '\\' skipover, but where ? ...


Best regards

Denis Briand


=================================================

Package: mc
Version: 2:4.6.2-2

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mc depends on:
ii  libc6                         2.9-6      GNU C Library: Shared
libraries
ii  libglib2.0-0                  2.20.0-2   The GLib library of C
routines
ii  libgpm2                       1.20.4-3.1 General Purpose Mouse -
shared lib
ii  libslang2                     2.1.4-1    The S-Lang programming
library - r

mc recommends no packages.

Versions of packages mc suggests:
pn  arj                           <none>     (no description available)
ii  bzip2                         1.0.5-1    high-quality block-sorting
file co
pn  dbview                        <none>     (no description available)
ii  file                          5.00-1     Determines file type using
"magic"
ii  mime-support                  3.44-1     MIME files 'mime.types' &
'mailcap
pn  odt2txt                       <none>     (no description available)
ii  perl                          5.10.0-19  Larry Wall's Practical
Extraction 
ii  unzip                         5.52-12    De-archiver for .zip files
ii  w3m                           0.5.2-2+b1 WWW browsable pager with
excellent
pn  xpdf                          <none>     (no description available)
ii  zip                           2.32-1     Archiver for .zip files

-- no debconf information


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-mc-devel/attachments/20090331/0b70d4e4/attachment.pgp 


More information about the Pkg-mc-devel mailing list