#ifndef lint
/*static char sccsid[] = "from: @(#)subr.c 8.1 (Berkeley) 6/4/93";*/
-static char rcsid[] = "$Id: subr.c,v 1.3 1996/08/31 09:53:42 deraadt Exp $";
+static char rcsid[] = "$Id: subr.c,v 1.4 1996/12/16 14:54:12 deraadt Exp $";
#endif /* not lint */
/*
ep = env;
if (TT && *TT) {
- strncat(termbuf, TT, sizeof(termbuf)-1);
+ strncat(termbuf, TT, sizeof(termbuf)-strlen(termbuf)-1);
termbuf[sizeof(termbuf)-1] = '\0';
*ep++ = termbuf;
}