make tty id buffer large enough for modern names
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Tue, 27 Apr 1993 10:59:55 +0000 (02:59 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Tue, 27 Apr 1993 10:59:55 +0000 (02:59 -0800)
SCCS-vsn: usr.sbin/sendmail/src/envelope.c 6.32

usr/src/usr.sbin/sendmail/src/envelope.c

index 79a6098..df0ddd2 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)envelope.c 6.31 (Berkeley) %G%";
+static char sccsid[] = "@(#)envelope.c 6.32 (Berkeley) %G%";
 #endif /* not lint */
 
 #include "sendmail.h"
 #endif /* not lint */
 
 #include "sendmail.h"
@@ -233,7 +233,7 @@ initsys(e)
        static char cbuf[5];                    /* holds hop count */
        static char pbuf[10];                   /* holds pid */
 #ifdef TTYNAME
        static char cbuf[5];                    /* holds hop count */
        static char pbuf[10];                   /* holds pid */
 #ifdef TTYNAME
-       static char ybuf[10];                   /* holds tty id */
+       static char ybuf[60];                   /* holds tty id */
        register char *p;
 #endif /* TTYNAME */
        extern char *ttyname();
        register char *p;
 #endif /* TTYNAME */
        extern char *ttyname();