From: Stefan Monnier Date: Tue, 30 Apr 2002 01:02:26 +0000 (+0000) Subject: (sys_spawnve): Update call to openp. X-Git-Tag: ttn-vms-21-2-B4~15281 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=44c7a52627837bfc8b67c6fd0fc94cc9e518a409;p=emacs.git (sys_spawnve): Update call to openp. --- diff --git a/src/w32proc.c b/src/w32proc.c index ae14c817fa9..f9e20135dd5 100644 --- a/src/w32proc.c +++ b/src/w32proc.c @@ -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)) {