Re: [Midnight Commander] #147: Fix escaping for completion on cmdline (spaces, backslashes, etc).
- From: "Ticket System" <tickets midnight-commander org>
- To: winnie debian org
- Cc: mc-devel gnome org
- Subject: Re: [Midnight Commander] #147: Fix escaping for completion on cmdline (spaces, backslashes, etc).
- Date: Wed, 07 Jan 2009 18:11:31 -0000
#147: Fix escaping for completion on cmdline (spaces, backslashes, etc).
---------------------------------------------------+------------------------
Reporter: Patrick Winnertz <winnie 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 Patrick Winnertz):
Hey,
> Why do the following characters do not need escaping:?
>
> $ `
Added.
>
> and why aren't the characters sorted according to their ASCII values?
This is done now.
Please note that I had not much time to rewrite the escape_string function
in
order to use g_str_append_c. It uses atm a negative index for a check
(src[-1]). It looks ugly but it doesn't fail. Please send a patch if you
have
a better idea for this ifclause.
Greetings
Winnie
--
Ticket URL: <www.midnight-commander.org/ticket/147#comment:>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]