Ticket #41 (closed defect: duplicate) — at Version 6
savannah: MC incorrectly completes directories with spaces
Reported by: | ptsekov | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 4.8 |
Component: | mc-vfs | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description (last modified by ossi) (diff)
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); }
Change History
Note: See
TracTickets for help on using
tickets.
Related ticket: #55