2009-03-27 Sandra Loosemore <sandra@codesourcery.com>
fixincludes/
* server.c (run_shell): Quote directory name passed to cd.
From-SVN: r145131
+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:
/* 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);