=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/man/Attic/man.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- src/usr.bin/man/Attic/man.c 1999/10/18 01:46:36 1.15 +++ src/usr.bin/man/Attic/man.c 2001/01/31 19:26:51 1.16 @@ -1,4 +1,4 @@ -/* $OpenBSD: man.c,v 1.15 1999/10/18 01:46:36 aaron Exp $ */ +/* $OpenBSD: man.c,v 1.16 2001/01/31 19:26:51 deraadt Exp $ */ /* $NetBSD: man.c,v 1.7 1995/09/28 06:05:34 tls Exp $ */ /* @@ -44,7 +44,7 @@ #if 0 static char sccsid[] = "@(#)man.c 8.17 (Berkeley) 1/31/95"; #else -static char rcsid[] = "$OpenBSD: man.c,v 1.15 1999/10/18 01:46:36 aaron Exp $"; +static char rcsid[] = "$OpenBSD: man.c,v 1.16 2001/01/31 19:26:51 deraadt Exp $"; #endif #endif /* not lint */ @@ -561,7 +561,8 @@ intmpp = addlist("_intmp"); /* Move to the printf(3) format string. */ - for (; *fmt && isspace(*fmt); ++fmt); + for (; *fmt && isspace(*fmt); ++fmt) + ; /* * Get a temporary file and build a version of the file @@ -681,8 +682,10 @@ * if the user uses "more", we make it "more -s"; watch out for * PAGER = "mypager /usr/ucb/more" */ - for (p = name; *p && !isspace(*p); ++p); - for (; p > name && *p != '/'; --p); + for (p = name; *p && !isspace(*p); ++p) + ; + for (; p > name && *p != '/'; --p) + ; if (p != name) ++p;