# HG changeset patch
# User Stefan Monnier <monnier@iro.umontreal.ca>
# Date 1020128546 0
# Node ID 07245ba4ebcca5c523a427c38103b166c3a4a114
# Parent  f46982d9ac50bf4f382c134aa110410e056942ca
(sys_spawnve): Update call to openp.

diff -r f46982d9ac50 -r 07245ba4ebcc src/w32proc.c
--- a/src/w32proc.c	Tue Apr 30 01:02:01 2002 +0000
+++ b/src/w32proc.c	Tue Apr 30 01:02:26 2002 +0000
@@ -748,7 +748,7 @@
       
       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))
 	{