From: Stefan Monnier Date: Tue, 30 Apr 2002 01:01:11 +0000 (+0000) Subject: (run_mac_command): Update call to openp. X-Git-Tag: ttn-vms-21-2-B4~15285 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=141f653a89013bcd165b66b3d30a683bb97c6021;p=emacs.git (run_mac_command): Update call to openp. --- diff --git a/src/mac.c b/src/mac.c index 4e6ee4bb8ff..e72da769204 100644 --- a/src/mac.c +++ b/src/mac.c @@ -2041,7 +2041,7 @@ run_mac_command (argv, workdir, infn, outfn, errfn) #endif /* 0 */ Lisp_Object path; openp (Vexec_path, build_string (newargv[0]), EXEC_SUFFIXES, &path, - 1); + make_number (X_OK)); if (NILP (path)) return -1;