Re: [Midnight Commander] #147: Fix escaping for completion on cmdline (spaces, backslashes, etc).



#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 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]