]> git.eshelyaron.com Git - emacs.git/commitdiff
(run_mac_command): Update call to openp.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 30 Apr 2002 01:01:11 +0000 (01:01 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 30 Apr 2002 01:01:11 +0000 (01:01 +0000)
src/mac.c

index 4e6ee4bb8ffd48eb67c7a2f1946d1de5215dd60c..e72da7692047df4da02d61b0b59e289503baf640 100644 (file)
--- 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;