changeset 45003:4209fda9d03f

(init_cmdargs): Update call to openp.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 30 Apr 2002 01:00:48 +0000
parents f1eb7c3e1e04
children 303384b6edc4
files src/emacs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Tue Apr 30 01:00:24 2002 +0000
+++ b/src/emacs.c	Tue Apr 30 01:00:48 2002 +0000
@@ -447,7 +447,7 @@
     {
       Lisp_Object found;
       int yes = openp (Vexec_path, Vinvocation_name,
-		       Vexec_suffixes, &found, 1);
+		       Vexec_suffixes, &found, make_number (X_OK));
       if (yes == 1)
 	{
 	  /* Add /: to the front of the name