summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/rcs
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-01-15 21:40:38 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-01-15 21:40:38 +0000
commit392475c0a4362a1fffa2571b773ba89cbba20f51 (patch)
treeead1b010ae63a8a9f80a5d90741800da9d29df51 /gnu/usr.bin/rcs
parent3f0e4916fac2244381c9cb0fb4ea71a01f33643b (diff)
Fix typo so two -L options can be fed to rcsdiff.
Diffstat (limited to 'gnu/usr.bin/rcs')
-rw-r--r--gnu/usr.bin/rcs/rcsdiff/rcsdiff.c11
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;