From 44c7a52627837bfc8b67c6fd0fc94cc9e518a409 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 30 Apr 2002 01:02:26 +0000 Subject: [PATCH] (sys_spawnve): Update call to openp. --- src/w32proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.39.5