Re: [RFA] Fix file name generation in edit_command (was: Ver 6.3 edit command failing)
Daniel Jacobowitz <[email protected]> Thu, 28 Apr 2005 16:42:01 -0400
| Newsgroups | gmane.comp.gdb.patches,gmane.comp.gdb.bugs.general |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Apr 28, 2005 at 11:36:50PM +0300, Eli Zaretskii wrote: > I ended up committing the attached. Note that it quotes the file > name, to account for possible special characters that would confise > the shell. (I use "..." for quoting because this is more portable to > various shells, including on Windows.) > > Thanks to Daniel and Mark for valuable input. Fine with me. Thanks. The use of "" is not a bulletproof quoting mechanism, but it's better than previously. -- Daniel Jacobowitz CodeSourcery, LLC