This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Fix file name generation in edit_command (was: Ver 6.3 edit command failing)
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