[Midnight Commander] #147: Fix escaping for completion on cmdline (spaces, backslashes, etc).
Ticket System
tickets at midnight-commander.org
Tue Jan 6 23:34:07 UTC 2009
#147: Fix escaping for completion on cmdline (spaces, backslashes, etc).
---------------------------------------------------+------------------------
Reporter: Patrick Winnertz <winnie at debian.org> | Owner: winnie
Type: defect | Status: accepted
Priority: major | Milestone: 4.6.2
Component: mc-core | Version: 4.6.1
Resolution: | Keywords: review
Blocking: 149 | Blockedby:
---------------------------------------------------+------------------------
Comment(by rillig):
In the unescape_string function, there is no need to check for (i == 0).
Otherwise the first character of the string may be skipped, which I think
is not intended.
Why do the following characters do not need escaping:?
$ `
and why aren't the characters sorted according to their ASCII values?
Roland
--
Ticket URL: <www.midnight-commander.org/ticket/147#comment:8>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center
More information about the mc-devel
mailing list