diff src/callproc.c @ 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 1ed68fd25957
children 7f1d09693ef3
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))