From 5c15096143974ef5d8931a221a2d6c95da9fe0e5 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 30 Apr 2002 01:00:24 +0000 Subject: [PATCH] (Fcall_process): Update call to openp. --- src/callproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/callproc.c b/src/callproc.c index 7f4993c9bf7..196f8a669ac 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -381,7 +381,7 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */) 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)) -- 2.39.5