[RFA] Fix file name generation in edit_command (was: Ver 6.3 edit command failing)

Eli Zaretskii eliz@gnu.org
Fri Apr 29 07:07:00 GMT 2005


> Date: Thu, 28 Apr 2005 17:18:03 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: bug-gdb@gnu.org, gdb-patches@sources.redhat.com
> 
> Or using a mechanism to start other processes that takes an argument
> vector :-)

Unfortunately, that's not a magic wand, either.  Specifically, in the
case in point, $EDITOR can be a _shell_command_, not a file name of a
program.  That is, I could say

     export EDITOR="emacs -q"

and expect it to work.  This will fail with vector-argument method of
invoking subprocesses.



More information about the Gdb-patches mailing list