changeset 45002:f1eb7c3e1e04

(Fcall_process): Update call to openp.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 30 Apr 2002 01:00:24 +0000
parents a3bd03ed0409
children 4209fda9d03f
files src/callproc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Tue Apr 30 00:59:49 2002 +0000
+++ b/src/callproc.c	Tue Apr 30 01:00:24 2002 +0000
@@ -381,7 +381,7 @@
     struct gcpro gcpro1;
 
     GCPRO1 (current_dir);
-    openp (Vexec_path, args[0], Vexec_suffixes, &path, 1);
+    openp (Vexec_path, args[0], Vexec_suffixes, &path, make_number (X_OK));
     UNGCPRO;
   }
   if (NILP (path))