changeset 45004:303384b6edc4

(run_mac_command): Update call to openp.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 30 Apr 2002 01:01:11 +0000
parents 4209fda9d03f
children 084928cfcfcb
files src/mac.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/mac.c	Tue Apr 30 01:00:48 2002 +0000
+++ b/src/mac.c	Tue Apr 30 01:01:11 2002 +0000
@@ -2041,7 +2041,7 @@
 #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;