BSD 4_4 release
[unix-history] / usr / src / old / sh / main.c
index 579eee1..a9607cc 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)main.c     4.3 %G%";
+static char sccsid[] = "@(#)main.c     4.4 5/8/89";
 #endif
 
 #
 #endif
 
 #
@@ -11,17 +11,18 @@ static char sccsid[] = "@(#)main.c  4.3 %G%";
  *
  */
 
  *
  */
 
-#include       "defs.h"
-#include       "sym.h"
-#include       "timeout.h"
 #include       <sys/types.h>
 #include       <sys/stat.h>
 #include       <sgtty.h>
 #include       <signal.h>
 #include       <sys/types.h>
 #include       <sys/stat.h>
 #include       <sgtty.h>
 #include       <signal.h>
+#include       "defs.h"
+#include       "sym.h"
+#include       "timeout.h"
+#include       "pathnames.h"
 
 UFD            output = 2;
 LOCAL BOOL     beenhere = FALSE;
 
 UFD            output = 2;
 LOCAL BOOL     beenhere = FALSE;
-CHAR           tmpout[20] = "/tmp/sh-";
+CHAR           tmpout[20] = _PATH_TMPOUT;
 FILEBLK                stdfile;
 FILE           standin = &stdfile;
 #ifdef stupid
 FILEBLK                stdfile;
 FILE           standin = &stdfile;
 #ifdef stupid