=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/apropos/Attic/apropos.c,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/usr.bin/apropos/Attic/apropos.c 1997/01/15 23:42:10 1.4 --- src/usr.bin/apropos/Attic/apropos.c 1997/09/11 11:24:53 1.5 *************** *** 1,4 **** ! /* $OpenBSD: apropos.c,v 1.4 1997/01/15 23:42:10 millert Exp $ */ /* $NetBSD: apropos.c,v 1.5 1995/09/04 20:46:20 tls Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: apropos.c,v 1.5 1997/09/11 11:24:53 deraadt Exp $ */ /* $NetBSD: apropos.c,v 1.5 1995/09/04 20:46:20 tls Exp $ */ /* *************** *** 44,50 **** #if 0 static char sccsid[] = "@(#)apropos.c 8.8 (Berkeley) 5/4/95"; #else ! static char rcsid[] = "$OpenBSD: apropos.c,v 1.4 1997/01/15 23:42:10 millert Exp $"; #endif #endif /* not lint */ --- 44,50 ---- #if 0 static char sccsid[] = "@(#)apropos.c 8.8 (Berkeley) 5/4/95"; #else ! static char rcsid[] = "$OpenBSD: apropos.c,v 1.5 1997/09/11 11:24:53 deraadt Exp $"; #endif #endif /* not lint */ *************** *** 143,149 **** char buf[LINE_MAX + 1], wbuf[LINE_MAX + 1]; for (name = path; name; name = end) { /* through name list */ ! if (end = strchr(name, ':')) *end++ = '\0'; if (buildpath) { --- 143,149 ---- char buf[LINE_MAX + 1], wbuf[LINE_MAX + 1]; for (name = path; name; name = end) { /* through name list */ ! if ((end = strchr(name, ':'))) *end++ = '\0'; if (buildpath) {