Commit 44c7a526 authored by Stefan Monnier's avatar Stefan Monnier

(sys_spawnve): Update call to openp.

parent 7d032932
......@@ -748,7 +748,7 @@ sys_spawnve (int mode, char *cmdname, char **argv, char **envp)
full = Qnil;
GCPRO1 (program);
openp (Vexec_path, program, Vexec_suffixes, &full, 1);
openp (Vexec_path, program, Vexec_suffixes, &full, make_number (X_OK));
UNGCPRO;
if (NILP (full))
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment