handle multiple uba's
[unix-history] / usr / src / usr.bin / ex / ex.h
index 03dc849..ad564bd 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright (c) 1981 Regents of the University of California */
 /* Copyright (c) 1981 Regents of the University of California */
-/* sccs id:    @(#)ex.h        7.2     %G%  */
+/* sccs id:    @(#)ex.h        7.4     %G%  */
 #ifdef V6
 #include <retrofit.h>
 #endif
 #ifdef V6
 #include <retrofit.h>
 #endif
@@ -49,7 +49,7 @@
 #include <sys/stat.h>
 
 #ifndef var
 #include <sys/stat.h>
 
 #ifndef var
-#define var    var
+#define var    extern
 #endif
 /*
  *     The following little dance copes with the new USG tty handling.
 #endif
 /*
  *     The following little dance copes with the new USG tty handling.
@@ -130,7 +130,11 @@ extern      struct option options[NOPTS + 1];
 # ifdef        VMUNIX
 #      define  BUFSIZ  1024
 # else
 # ifdef        VMUNIX
 #      define  BUFSIZ  1024
 # else
+#  ifdef u370
+#      define  BUFSIZ  4096
+#  else
 #      define  BUFSIZ  512
 #      define  BUFSIZ  512
+#  endif
 # endif
 #      define  NULL    0
 #      define  EOF     -1
 # endif
 #      define  NULL    0
 #      define  EOF     -1