This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]