changeset 45005:084928cfcfcb

(Fstart_process): Update call to openp.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 30 Apr 2002 01:01:37 +0000
parents 303384b6edc4
children 6e2fa2a3081b
files src/process.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Tue Apr 30 01:01:11 2002 +0000
+++ b/src/process.c	Tue Apr 30 01:01:37 2002 +0000
@@ -1430,7 +1430,7 @@
 
       tem = Qnil;
       GCPRO4 (name, program, buffer, current_dir);
-      openp (Vexec_path, program, Vexec_suffixes, &tem, 1);
+      openp (Vexec_path, program, Vexec_suffixes, &tem, make_number (X_OK));
       UNGCPRO;
       if (NILP (tem))
 	report_file_error ("Searching for program", Fcons (program, Qnil));