mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-01 20:10:34 +08:00
server.c (run_shell): Quote directory name passed to cd.
2009-03-27 Sandra Loosemore <sandra@codesourcery.com> fixincludes/ * server.c (run_shell): Quote directory name passed to cd. From-SVN: r145131
This commit is contained in:
parent
7338ea632b
commit
ea7557f04b
@ -1,3 +1,7 @@
|
||||
2009-03-27 Sandra Loosemore <sandra@codesourcery.com>
|
||||
|
||||
* server.c (run_shell): Quote directory name passed to cd.
|
||||
|
||||
2009-03-01 Bruce Korb <bkorb@gnu.org>
|
||||
Apply a positively ancient patch:
|
||||
|
||||
|
@ -266,7 +266,7 @@ run_shell (const char* pz_cmd)
|
||||
/* Make sure the process will pay attention to us, send the
|
||||
supplied command, and then have it output a special marker that
|
||||
we can find. */
|
||||
fprintf (server_pair.pf_write, "cd %s\n%s\n\necho\necho %s\n",
|
||||
fprintf (server_pair.pf_write, "cd \"%s\"\n%s\n\necho\necho %s\n",
|
||||
p_cur_dir, pz_cmd, z_done);
|
||||
fflush (server_pair.pf_write);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user