1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-23 08:20:41 -08:00

(Fstart_process): Don't expand the file name before trying openp.

This commit is contained in:
Richard M. Stallman 1995-07-25 01:42:05 +00:00
parent 8a4aff68a1
commit f8a8749802

View file

@ -1080,8 +1080,6 @@ Remaining arguments are strings to give program as arguments.")
#else /* not VMS */
new_argv = (unsigned char **) alloca ((nargs - 1) * sizeof (char *));
program = Fexpand_file_name (program, Qnil);
/* If program file name is not absolute, search our path for it */
if (!IS_DIRECTORY_SEP (XSTRING (program)->data[0])
&& !(XSTRING (program)->size > 1
@ -1095,6 +1093,7 @@ Remaining arguments are strings to give program as arguments.")
UNGCPRO;
if (NILP (tem))
report_file_error ("Searching for program", Fcons (program, Qnil));
tem = Fexpand_file_name (tem, Qnil);
new_argv[0] = XSTRING (tem)->data;
}
else