=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/apropos/Attic/apropos.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- src/usr.bin/apropos/Attic/apropos.c 1996/10/25 06:27:42 1.3 +++ src/usr.bin/apropos/Attic/apropos.c 1997/01/15 23:42:10 1.4 @@ -1,4 +1,4 @@ -/* $OpenBSD: apropos.c,v 1.3 1996/10/25 06:27:42 downsj Exp $ */ +/* $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 $ */ /* @@ -44,7 +44,7 @@ #if 0 static char sccsid[] = "@(#)apropos.c 8.8 (Berkeley) 5/4/95"; #else -static char rcsid[] = "$OpenBSD: apropos.c,v 1.3 1996/10/25 06:27:42 downsj Exp $"; +static char rcsid[] = "$OpenBSD: apropos.c,v 1.4 1997/01/15 23:42:10 millert Exp $"; #endif #endif /* not lint */ @@ -81,7 +81,7 @@ conffile = NULL; p_augment = p_path = NULL; - while ((ch = getopt(argc, argv, "C:M:m:P:")) != EOF) + while ((ch = getopt(argc, argv, "C:M:m:P:")) != -1) switch (ch) { case 'C': conffile = optarg;