Commit 6c362a8b authored by Richard M. Stallman's avatar Richard M. Stallman

Include process.h.

(init_cmdargs): Use EXEC_SUFFIXES.
parent b7a11e21
......@@ -47,6 +47,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "systty.h"
#include "syssignal.h"
#include "process.h"
#ifndef O_RDWR
#define O_RDWR 2
......@@ -169,7 +170,7 @@ init_cmdargs (argc, argv, skip_args)
{
Lisp_Object found;
int yes = openp (Vexec_path, Vinvocation_name,
"", &found, 1);
EXEC_SUFFIXES, &found, 1);
if (yes)
Vinvocation_directory = Ffile_name_directory (found);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment