diff options
| author | Richard M. Stallman | 1995-07-25 01:42:05 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-07-25 01:42:05 +0000 |
| commit | f8a87498023d26b09a8ceaa97603f96ffc84736a (patch) | |
| tree | 1dbc6ac34b6e13f2f34ae893f1a6f909e5a10969 /src | |
| parent | 8a4aff68a1029717a4d3069284d101b6493637d3 (diff) | |
| download | emacs-f8a87498023d26b09a8ceaa97603f96ffc84736a.tar.gz emacs-f8a87498023d26b09a8ceaa97603f96ffc84736a.zip | |
(Fstart_process): Don't expand the file name before trying openp.
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 3 |
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.") | |||
| 1080 | #else /* not VMS */ | 1080 | #else /* not VMS */ |
| 1081 | new_argv = (unsigned char **) alloca ((nargs - 1) * sizeof (char *)); | 1081 | new_argv = (unsigned char **) alloca ((nargs - 1) * sizeof (char *)); |
| 1082 | 1082 | ||
| 1083 | program = Fexpand_file_name (program, Qnil); | ||
| 1084 | |||
| 1085 | /* If program file name is not absolute, search our path for it */ | 1083 | /* If program file name is not absolute, search our path for it */ |
| 1086 | if (!IS_DIRECTORY_SEP (XSTRING (program)->data[0]) | 1084 | if (!IS_DIRECTORY_SEP (XSTRING (program)->data[0]) |
| 1087 | && !(XSTRING (program)->size > 1 | 1085 | && !(XSTRING (program)->size > 1 |
| @@ -1095,6 +1093,7 @@ Remaining arguments are strings to give program as arguments.") | |||
| 1095 | UNGCPRO; | 1093 | UNGCPRO; |
| 1096 | if (NILP (tem)) | 1094 | if (NILP (tem)) |
| 1097 | report_file_error ("Searching for program", Fcons (program, Qnil)); | 1095 | report_file_error ("Searching for program", Fcons (program, Qnil)); |
| 1096 | tem = Fexpand_file_name (tem, Qnil); | ||
| 1098 | new_argv[0] = XSTRING (tem)->data; | 1097 | new_argv[0] = XSTRING (tem)->data; |
| 1099 | } | 1098 | } |
| 1100 | else | 1099 | else |