=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tset/Attic/termcap.c,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/usr.bin/tset/Attic/termcap.c 2003/06/03 02:56:20 1.5 --- src/usr.bin/tset/Attic/termcap.c 2007/03/20 03:56:13 1.6 *************** *** 1,4 **** ! /* $OpenBSD: termcap.c,v 1.5 2003/06/03 02:56:20 millert Exp $ */ /* $NetBSD: termcap.c,v 1.7 1995/06/05 19:45:52 pk Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: termcap.c,v 1.6 2007/03/20 03:56:13 tedu Exp $ */ /* $NetBSD: termcap.c,v 1.7 1995/06/05 19:45:52 pk Exp $ */ /* *************** *** 31,37 **** */ #ifndef lint ! static char rcsid[] = "$OpenBSD: termcap.c,v 1.5 2003/06/03 02:56:20 millert Exp $"; #endif /* not lint */ #define PVECSIZ 32 /* max number of names in path */ --- 31,37 ---- */ #ifndef lint ! static char rcsid[] = "$OpenBSD: termcap.c,v 1.6 2007/03/20 03:56:13 tedu Exp $"; #endif /* not lint */ #define PVECSIZ 32 /* max number of names in path */ *************** *** 175,183 **** * empty fields or fields containing only whitespace. */ while ((p = strsep(&t, ":")) != NULL) { ! while ((ch = *p) != '\0' && isspace(ch)) ++p; ! if (ch == '\0') continue; while ((ch = *p++) != '\0') switch(ch) { --- 175,183 ---- * empty fields or fields containing only whitespace. */ while ((p = strsep(&t, ":")) != NULL) { ! while (isspace(*p)) ++p; ! if (*p == '\0') continue; while ((ch = *p++) != '\0') switch(ch) {