=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cmp/cmp.c,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/usr.bin/cmp/cmp.c 1996/08/01 00:29:10 1.4 --- src/usr.bin/cmp/cmp.c 1997/01/15 23:42:19 1.5 *************** *** 1,4 **** ! /* $OpenBSD: cmp.c,v 1.4 1996/08/01 00:29:10 michaels Exp $ */ /* $NetBSD: cmp.c,v 1.7 1995/09/08 03:22:56 tls Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: cmp.c,v 1.5 1997/01/15 23:42:19 millert Exp $ */ /* $NetBSD: cmp.c,v 1.7 1995/09/08 03:22:56 tls Exp $ */ /* *************** *** 44,50 **** #if 0 static char sccsid[] = "@(#)cmp.c 8.3 (Berkeley) 4/2/94"; #else ! static char rcsid[] = "$OpenBSD: cmp.c,v 1.4 1996/08/01 00:29:10 michaels Exp $"; #endif #endif /* not lint */ --- 44,50 ---- #if 0 static char sccsid[] = "@(#)cmp.c 8.3 (Berkeley) 4/2/94"; #else ! static char rcsid[] = "$OpenBSD: cmp.c,v 1.5 1997/01/15 23:42:19 millert Exp $"; #endif #endif /* not lint */ *************** *** 77,83 **** setlocale(LC_ALL, ""); ! while ((ch = getopt(argc, argv, "ls")) != EOF) switch (ch) { case 'l': /* print all differences */ lflag = 1; --- 77,83 ---- setlocale(LC_ALL, ""); ! while ((ch = getopt(argc, argv, "ls")) != -1) switch (ch) { case 'l': /* print all differences */ lflag = 1;