]> git.eshelyaron.com Git - emacs.git/commitdiff
(sys_spawnve): Update call to openp.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 30 Apr 2002 01:02:26 +0000 (01:02 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 30 Apr 2002 01:02:26 +0000 (01:02 +0000)
src/w32proc.c

index ae14c817fa99c17682a5578701f6f8618538830b..f9e20135dd58c676cd2684a653adb1afcfe8e3af 100644 (file)
@@ -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))
        {