=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tset/Attic/wrterm.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/tset/Attic/wrterm.c 1996/06/26 05:41:59 1.2 --- src/usr.bin/tset/Attic/wrterm.c 1997/01/17 07:13:45 1.3 *************** *** 1,4 **** ! /* $OpenBSD: wrterm.c,v 1.2 1996/06/26 05:41:59 deraadt Exp $ */ /* $NetBSD: wrterm.c,v 1.3 1994/12/07 05:08:16 jtc Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: wrterm.c,v 1.3 1997/01/17 07:13:45 millert Exp $ */ /* $NetBSD: wrterm.c,v 1.3 1994/12/07 05:08:16 jtc Exp $ */ /*- *************** *** 38,44 **** #if 0 static char sccsid[] = "@(#)wrterm.c 8.1 (Berkeley) 6/9/93"; #endif ! static char rcsid[] = "$OpenBSD: wrterm.c,v 1.2 1996/06/26 05:41:59 deraadt Exp $"; #endif /* not lint */ #include --- 38,44 ---- #if 0 static char sccsid[] = "@(#)wrterm.c 8.1 (Berkeley) 6/9/93"; #endif ! static char rcsid[] = "$OpenBSD: wrterm.c,v 1.3 1997/01/17 07:13:45 millert Exp $"; #endif /* not lint */ #include *************** *** 60,66 **** char *t, *sep; /* Find the end of the terminal names. */ ! if ((t = index(bp, ':')) == NULL) err("termcap names not colon terminated"); *t++ = '\0'; --- 60,66 ---- char *t, *sep; /* Find the end of the terminal names. */ ! if ((t = strchr(bp, ':')) == NULL) err("termcap names not colon terminated"); *t++ = '\0';