ttytype should have it's sive defined properly
authorKen Arnold <arnold@ucbvax.Berkeley.EDU>
Fri, 31 Jan 1986 05:43:11 +0000 (21:43 -0800)
committerKen Arnold <arnold@ucbvax.Berkeley.EDU>
Fri, 31 Jan 1986 05:43:11 +0000 (21:43 -0800)
SCCS-vsn: lib/libcurses/curses.c 5.3
SCCS-vsn: lib/libcurses/curses.ext 5.3

usr/src/lib/libcurses/curses.c
usr/src/lib/libcurses/curses.ext

index 1e4f4d8..62f6547 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)curses.c   5.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)curses.c   5.2 (Berkeley) 11/8/85";
 #endif not lint
 
 /*
 #endif not lint
 
 /*
@@ -19,7 +19,7 @@ bool  _echoit         = TRUE, /* set if stty indicates ECHO           */
        My_term         = FALSE,/* set if user specifies terminal type  */
        _endwin         = FALSE;/* set if endwin has been called        */
 
        My_term         = FALSE,/* set if user specifies terminal type  */
        _endwin         = FALSE;/* set if endwin has been called        */
 
-char   ttytype[17],            /* long name of tty                     */
+char   ttytype[50],            /* long name of tty                     */
        *Def_term       = "unknown";    /* default terminal type        */
 
 int    _tty_ch         = 1,    /* file channel which is a tty          */
        *Def_term       = "unknown";    /* default terminal type        */
 
 int    _tty_ch         = 1,    /* file channel which is a tty          */
index a1bfc29..ae9b293 100644 (file)
@@ -3,7 +3,7 @@
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)curses.ext  5.2 (Berkeley) %G%
+ *     @(#)curses.ext  5.2 (Berkeley) 6/19/85
  */
 
 /*
  */
 
 /*
@@ -16,7 +16,7 @@
 
 extern bool    _echoit, _rawmode, My_term, _endwin;
 
 
 extern bool    _echoit, _rawmode, My_term, _endwin;
 
-extern char    ttytype[], *_unctrl[];
+extern char    ttytype[50], *_unctrl[];
 
 extern int     _tty_ch, LINES, COLS;
 
 
 extern int     _tty_ch, LINES, COLS;