=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tset/Attic/map.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/tset/Attic/map.c 1996/06/26 05:41:55 1.2 --- src/usr.bin/tset/Attic/map.c 1997/01/17 07:13:43 1.3 *************** *** 1,4 **** ! /* $OpenBSD: map.c,v 1.2 1996/06/26 05:41:55 deraadt Exp $ */ /* $NetBSD: map.c,v 1.4 1994/12/07 05:08:07 jtc Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: map.c,v 1.3 1997/01/17 07:13:43 millert Exp $ */ /* $NetBSD: map.c,v 1.4 1994/12/07 05:08:07 jtc Exp $ */ /*- *************** *** 38,44 **** #if 0 static char sccsid[] = "@(#)map.c 8.1 (Berkeley) 6/9/93"; #endif ! static char rcsid[] = "$OpenBSD: map.c,v 1.2 1996/06/26 05:41:55 deraadt Exp $"; #endif /* not lint */ #include --- 38,44 ---- #if 0 static char sccsid[] = "@(#)map.c 8.1 (Berkeley) 6/9/93"; #endif ! static char rcsid[] = "$OpenBSD: map.c,v 1.3 1997/01/17 07:13:43 millert Exp $"; #endif /* not lint */ #include *************** *** 136,142 **** goto badmopt; ++arg; } else { /* Optional baudrate. */ ! arg = index(p = arg, ':'); if (arg == NULL) goto badmopt; *arg++ = '\0'; --- 136,142 ---- goto badmopt; ++arg; } else { /* Optional baudrate. */ ! arg = strchr(p = arg, ':'); if (arg == NULL) goto badmopt; *arg++ = '\0';