From: Stefan Monnier Date: Tue, 30 Apr 2002 01:00:48 +0000 (+0000) Subject: (init_cmdargs): Update call to openp. X-Git-Tag: ttn-vms-21-2-B4~15286 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=10c0915e8d86bdcd5c309e48ace834b7e15a6d1e;p=emacs.git (init_cmdargs): Update call to openp. --- 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