summaryrefslogtreecommitdiff
path: root/src/process.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-07-25 01:42:05 +0000
committerRichard M. Stallman <rms@gnu.org>1995-07-25 01:42:05 +0000
commit83db16767c2f4aca55e5b770ea7427f4a7c6b84d (patch)
treec02359b87141816c6691c16a122aabbeb25d088d /src/process.c
parent8f3fe942d2a9d22608fb8b8144dc33239a4d9eef (diff)
downloademacs-83db16767c2f4aca55e5b770ea7427f4a7c6b84d.tar.gz
(Fstart_process): Don't expand the file name before trying openp.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index ca8cc24231d..589028e6c66 100644
--- a/src/process.c
+++ b/src/process.c
@@ -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