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

index d0bd50222a06a8792bf772676302ef0841230b46..e83e46af14b45a2935d07599f5f93d193c23423f 100644 (file)
@@ -447,7 +447,7 @@ init_cmdargs (argc, argv, skip_args)
     {
       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