Mercurial > emacs
diff src/emacs.c @ 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 | 01b93e5e53a7 |
children | 32cb1788d9cd |
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