aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2002-04-30 01:00:48 +0000
committerStefan Monnier2002-04-30 01:00:48 +0000
commit10c0915e8d86bdcd5c309e48ace834b7e15a6d1e (patch)
treeb55c3747ab057cea8cfd297330740a94f4eb41c7 /src
parent5c15096143974ef5d8931a221a2d6c95da9fe0e5 (diff)
downloademacs-10c0915e8d86bdcd5c309e48ace834b7e15a6d1e.tar.gz
emacs-10c0915e8d86bdcd5c309e48ace834b7e15a6d1e.zip
(init_cmdargs): Update call to openp.
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c2
1 files changed, 1 insertions, 1 deletions
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)
447 { 447 {
448 Lisp_Object found; 448 Lisp_Object found;
449 int yes = openp (Vexec_path, Vinvocation_name, 449 int yes = openp (Vexec_path, Vinvocation_name,
450 Vexec_suffixes, &found, 1); 450 Vexec_suffixes, &found, make_number (X_OK));
451 if (yes == 1) 451 if (yes == 1)
452 { 452 {
453 /* Add /: to the front of the name 453 /* Add /: to the front of the name