Ticket #41 (new defect) — at Initial Version

Opened 12 years ago

Last modified 7 years ago

savannah: MC incorrectly completes directories with spaces

Reported by: slavazanko Owned by:
Priority: major Milestone: 4.8
Component: mc-vfs Version:
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Original: http://savannah.gnu.org/bugs/?16176

Submitted by:Pavel Tsekov <ptsekov>Submitted on:Fri 24 Mar 2006 02:53:25 PM UTC
Category:CoreSeverity:3 - Normal
Status:NonePrivacy:Public
Assigned to:NoneOpen/Closed:Open
Release:All versionsOperating System:All

Discussion:

Fri 24 Mar 2006 02:53:25 PM UTC, original submission:

This bugreport is based on information found it the Debian bug reporting system:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326047

I confirmed that the bug exists and needs to be fixed. It is the 
following code from complete_engine () that causes the problem:

if (!in->completions){
end = in->point;
for (start = end ? end - 1 : 0; start > -1; start--)
if (strchr (" \t;|<>", in->buffer [start]))
break;
if (start < end)
start++;
in->completions = try_complete (in->buffer, &start, &end, in->completion_flags);
} 
Note: See TracTickets for help on using tickets.