From 10c0915e8d86bdcd5c309e48ace834b7e15a6d1e Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 30 Apr 2002 01:00:48 +0000 Subject: [PATCH] (init_cmdargs): Update call to openp. --- src/emacs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emacs.c b/src/emacs.c index d0bd50222a0..e83e46af14b 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -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 -- 2.39.5