id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
41	savannah: MC incorrectly completes directories with spaces	ptsekov		"Original: http://savannah.gnu.org/bugs/?16176

||Submitted by:||Pavel Tsekov <ptsekov>||Submitted on:||Fri 24 Mar 2006 02:53:25 PM UTC||
||Category:||Core||Severity:||3 - Normal||
||Status:||None||Privacy:||Public||
||Assigned to:||None||Open/Closed:||Open||
||Release:||All versions||Operating System:||All||

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);
  }
}}}
"	defect	closed	major	4.8	mc-vfs		duplicate					no branch	
