[Midnight Commander] #147: Fix escaping for completion on cmdline (spaces, backslashes, etc).
Ticket System
tickets at midnight-commander.org
Tue Jan 6 21:56:04 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:
---------------------------------------------------+------------------------
Changes (by Patrick Winnertz):
* keywords: rework => review
Comment:
Hey,
> Maybe it's a good idea to try to use
> g_strescape and g_strcompress instead of home-made functions...
I tried it with these functions.. unfortunatly g_strescape doesn't escape
the
whitespace .. therefore this function is useless for us.
I rewrote the patch a little bit to escape everything even if it's the
leading
char.
--
Ticket URL: <www.midnight-commander.org/ticket/147#comment:>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center
More information about the mc-devel
mailing list