changeset 4589:3e419e5bbed6

Include process.h. (init_cmdargs): Use EXEC_SUFFIXES.
author Richard M. Stallman <rms@gnu.org>
date Thu, 12 Aug 1993 22:05:30 +0000
parents 73d1d7d05a5a
children e8bd41ac77be
files src/emacs.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Thu Aug 12 21:55:46 1993 +0000
+++ b/src/emacs.c	Thu Aug 12 22:05:30 1993 +0000
@@ -47,6 +47,7 @@
 
 #include "systty.h"
 #include "syssignal.h"
+#include "process.h"
 
 #ifndef O_RDWR
 #define O_RDWR 2
@@ -169,7 +170,7 @@
     {
       Lisp_Object found;
       int yes = openp (Vexec_path, Vinvocation_name,
-		       "", &found, 1);
+		       EXEC_SUFFIXES, &found, 1);
       if (yes)
 	Vinvocation_directory = Ffile_name_directory (found);
     }