mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 15:56:35 -04:00
Fix starting local processes in the MS-Windows build
* src/w32proc.c (sys_spawnve): Use default value of 'exec-suffixes', as we are starting a local process.
This commit is contained in:
parent
99a9307235
commit
cba18a7f9c
|
|
@ -2731,8 +2731,8 @@ sys_spawnve (int mode, char *cmdname, char **argv, char **envp)
|
|||
{
|
||||
program = build_string (cmdname);
|
||||
full = Qnil;
|
||||
openp (Vexec_path, program, Vexec_suffixes, &full, make_fixnum (X_OK),
|
||||
0, 0, NULL);
|
||||
openp (Vexec_path, program, Fdefault_value (Qexec_suffixes),
|
||||
&full, make_fixnum (X_OK), 0, 0, NULL);
|
||||
if (NILP (full))
|
||||
{
|
||||
errno = EINVAL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue