diff options
-rw-r--r-- | gnu/usr.bin/rcs/rcsdiff/rcsdiff.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/usr.bin/rcs/rcsdiff/rcsdiff.c b/gnu/usr.bin/rcs/rcsdiff/rcsdiff.c index b92b9102d40..095075a7916 100644 --- a/gnu/usr.bin/rcs/rcsdiff/rcsdiff.c +++ b/gnu/usr.bin/rcs/rcsdiff/rcsdiff.c @@ -28,8 +28,11 @@ Report problems and direct all questions to: /* * $Log: rcsdiff.c,v $ - * Revision 1.1 1995/10/18 08:41:03 deraadt - * Initial revision + * Revision 1.2 1996/01/15 21:40:37 niklas + * Fix typo so two -L options can be fed to rcsdiff. + * + * Revision 1.1.1.1 1995/10/18 08:41:03 deraadt + * initial import of NetBSD tree * * Revision 1.3 1995/02/24 02:25:35 mycroft * RCS 5.6.7.4 @@ -150,7 +153,7 @@ static int exitstatus; static RILE *workptr; static struct stat workstat; -mainProg(rcsdiffId, "rcsdiff", "$Id: rcsdiff.c,v 1.1 1995/10/18 08:41:03 deraadt Exp $") +mainProg(rcsdiffId, "rcsdiff", "$Id: rcsdiff.c,v 1.2 1996/01/15 21:40:37 niklas Exp $") { static char const cmdusage[] = "\nrcsdiff usage: rcsdiff -ksubst -q -rrev1 [-rrev2] -Vn -xsuff -zzone [diff options] file ..."; @@ -211,7 +214,7 @@ mainProg(rcsdiffId, "rcsdiff", "$Id: rcsdiff.c,v 1.1 1995/10/18 08:41:03 deraadt /* fall into */ case 'C': case 'F': case 'I': case 'L': case 'W': #if DIFF_L - if (c == 'L' && ++file_labels == 2) + if (c == 'L' && file_labels++ == 2) faterror("too many -L options"); #endif *dcp++ = c; |